瀏覽代碼

Add support for nushell (#1878)

* Add support for nushell

* Update neofetch

Co-authored-by: Tyler J Russell <xtylerjrx@gmail.com>

Co-authored-by: Tyler J Russell <xtylerjrx@gmail.com>
Nathan Thomas 3 年之前
父節點
當前提交
0d08c130ff
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      neofetch

+ 6 - 0
neofetch

@@ -1744,6 +1744,12 @@ get_shell() {
             shell=${shell/ Yet another shell}
             shell=${shell/Copyright*}
         ;;
+	
+        nu)
+            shell+=$("$SHELL" -c "version | get version")
+            shell=${shell/ $shell_name}
+        ;;
+
 
         *)
             shell+=$("$SHELL" --version 2>&1)