Suppress shell warnings when hashing is disabled by set +h

This commit is contained in:
Sam Stephenson 2013-01-25 11:50:37 -06:00
parent 3cb95b4d2d
commit 98f45695db

View file

@ -10,4 +10,4 @@ fi
# When rbenv shell integration is enabled, delegate to rbenv-rehash, # When rbenv shell integration is enabled, delegate to rbenv-rehash,
# then tell the shell to empty its command lookup cache. # then tell the shell to empty its command lookup cache.
rbenv-rehash rbenv-rehash
echo "hash -r" echo "hash -r 2>/dev/null || true"