mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-03 16:51:29 +00:00
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>
This commit is contained in:
6
neofetch
6
neofetch
@@ -1744,6 +1744,12 @@ get_shell() {
|
|||||||
shell=${shell/ Yet another shell}
|
shell=${shell/ Yet another shell}
|
||||||
shell=${shell/Copyright*}
|
shell=${shell/Copyright*}
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
nu)
|
||||||
|
shell+=$("$SHELL" -c "version | get version")
|
||||||
|
shell=${shell/ $shell_name}
|
||||||
|
;;
|
||||||
|
|
||||||
|
|
||||||
*)
|
*)
|
||||||
shell+=$("$SHELL" --version 2>&1)
|
shell+=$("$SHELL" --version 2>&1)
|
||||||
|
Reference in New Issue
Block a user