Commit 6c3b0136 authored by szfcbr's avatar szfcbr

Shells: add support for tcsh

parent d2f02553
...@@ -640,6 +640,10 @@ get_shell() { ...@@ -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}"}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment