Shells: add support for tcsh
This commit is contained in:
parent
d2f0255327
commit
6c3b0136de
4
neofetch
4
neofetch
|
@ -640,6 +640,10 @@ get_shell() {
|
||||||
shell="${shell/version}"
|
shell="${shell/version}"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
"tcsh")
|
||||||
|
shell+="$("$SHELL" -c 'printf "%s" "$tcsh"')"
|
||||||
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
shell+="$("$SHELL" --version 2>&1)"
|
shell+="$("$SHELL" --version 2>&1)"
|
||||||
shell="${shell/ "${shell_name}"}"
|
shell="${shell/ "${shell_name}"}"
|
||||||
|
|
Reference in New Issue