mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 09:08:38 +00:00
neofetch: Fix yash shell. Closes #1421
This commit is contained in:
7
neofetch
7
neofetch
@@ -1594,6 +1594,13 @@ get_shell() {
|
|||||||
shell+=$("$SHELL" -c "printf %s \$tcsh")
|
shell+=$("$SHELL" -c "printf %s \$tcsh")
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
yash)
|
||||||
|
shell+=$("$SHELL" --version 2>&1)
|
||||||
|
shell=${shell/ $shell_name}
|
||||||
|
shell=${shell/ Yet another shell }
|
||||||
|
shell=${shell/ Copyright*}
|
||||||
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
shell+=$("$SHELL" --version 2>&1)
|
shell+=$("$SHELL" --version 2>&1)
|
||||||
shell=${shell/ $shell_name}
|
shell=${shell/ $shell_name}
|
||||||
|
Reference in New Issue
Block a user