Browse Source

Don't need to test if the shims directory is present since rbenv-rehash creates it

pull/360/head^2
Sam Stephenson 13 years ago
parent
commit
00b8b4db33
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      libexec/rbenv-init

+ 1
- 3
libexec/rbenv-init View File

@ -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\""

Loading…
Cancel
Save