diff --git a/libexec/jenv-sh-rehash b/libexec/jenv-sh-rehash index a8b8d6e..8edbb4f 100755 --- a/libexec/jenv-sh-rehash +++ b/libexec/jenv-sh-rehash @@ -10,4 +10,12 @@ fi # When jenv shell integration is enabled, delegate to jenv-rehash, # then tell the shell to empty its command lookup cache. jenv-rehash -echo "hash -r" + +case "$shell" in +fish ) + # no rehash support + ;; +* ) + echo "hash -r" + ;; +esac