Add support for fish shell version.

This commit is contained in:
John Bertagnolli 2016-05-20 19:16:53 -06:00
parent 848270ad6f
commit 3a41060c10
1 changed files with 4 additions and 0 deletions

View File

@ -770,6 +770,10 @@ getshell () {
shell=${shell/tcsh} shell=${shell/tcsh}
shell=${shell/\(*} shell=${shell/\(*}
;; ;;
*"fish"*)
shell+="$("$SHELL" -c 'printf "%s" "$FISH_VERSION"')"
;;
esac esac
shell="${shell/\(*\)}" shell="${shell/\(*\)}"