From 00b8b4db338f9b6feb84cbeb40253ecedcb5992f Mon Sep 17 00:00:00 2001 From: Sam Stephenson Date: Wed, 3 Aug 2011 23:53:52 -0500 Subject: [PATCH] Don't need to test if the shims directory is present since rbenv-rehash creates it --- libexec/rbenv-init | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libexec/rbenv-init b/libexec/rbenv-init index dfd718b1..d8a4a0bc 100755 --- a/libexec/rbenv-init +++ b/libexec/rbenv-init @@ -21,9 +21,7 @@ abs_dirname() { } root="$(abs_dirname "$0")/.." -if [ -d "$HOME/.rbenv/shims" ]; then - echo 'export PATH="$HOME/.rbenv/shims:$PATH"' -fi +echo 'export PATH="$HOME/.rbenv/shims:$PATH"' if [ "$shell" = "bash" ]; then echo "source \"$root/completions/rbenv.bash\""