Shells: add support for tcsh
This commit is contained in:
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
Block a user