diff --git a/libexec/rbenv-sh-rehash b/libexec/rbenv-sh-rehash index 9cc7526..7548861 100755 --- a/libexec/rbenv-sh-rehash +++ b/libexec/rbenv-sh-rehash @@ -10,4 +10,4 @@ fi # When rbenv shell integration is enabled, delegate to rbenv-rehash, # then tell the shell to empty its command lookup cache. rbenv-rehash -echo "hash -r" +echo "hash -r 2>/dev/null || true"