From 6d6b1d60027c3e97a47f8dd16185cee58ef4e4fe Mon Sep 17 00:00:00 2001 From: Sam Stephenson Date: Mon, 15 Aug 2011 01:18:04 -0500 Subject: [PATCH] Run `rbenv rehash` on init --- libexec/rbenv-init | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libexec/rbenv-init b/libexec/rbenv-init index d695879b..4dc751dd 100755 --- a/libexec/rbenv-init +++ b/libexec/rbenv-init @@ -58,3 +58,5 @@ echo 'export PATH="${HOME}/.rbenv/shims:${PATH}"' if [ "$shell" = "bash" ]; then echo "source \"$root/completions/rbenv.bash\"" fi + +echo 'rbenv rehash 2>/dev/null'