Browse Source

Suppress shell warnings when hashing is disabled by `set +h`

pull/360/head^2
Sam Stephenson 11 years ago
parent
commit
98f45695db
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libexec/rbenv-sh-rehash

+ 1
- 1
libexec/rbenv-sh-rehash 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"

Loading…
Cancel
Save