Procházet zdrojové kódy

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 před 3 roky
rodič
revize
0d08c130ff
1 změnil soubory, kde provedl 6 přidání a 0 odebrání
  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)