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
commit 48c970d6e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}"}"