Merge pull request #892 from szfcbr/tcsh

Shells: add support for tcsh
This commit is contained in:
Herdiansyah
2018-01-05 12:54:52 +07:00
committed by GitHub

View File

@@ -640,6 +640,10 @@ get_shell() {
shell="${shell/version}"
;;
"tcsh")
shell+="$("$SHELL" -c 'printf "%s" "$tcsh"')"
;;
*)
shell+="$("$SHELL" --version 2>&1)"
shell="${shell/ "${shell_name}"}"