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

View file

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