Fix check shell is fish to support both uppercase and lowercase
@ -11,11 +11,10 @@ fi
# then tell the shell to empty its command lookup cache.
jenv-rehash "$@"
case "$shell" in
# Check if the shell is fish
fish )
if [[ "$SHELL" == *"fish"* ]] || [[ "$shell" == *"fish"* ]]; then
# no rehash support
;;
:
* )
else
echo "hash -r"
fi
esac