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

This commit is contained in:
Sam Stephenson 2011-08-03 23:53:52 -05:00
parent 917b3687cb
commit 00b8b4db33

View file

@ -21,9 +21,7 @@ abs_dirname() {
} }
root="$(abs_dirname "$0")/.." root="$(abs_dirname "$0")/.."
if [ -d "$HOME/.rbenv/shims" ]; then echo 'export PATH="$HOME/.rbenv/shims:$PATH"'
echo 'export PATH="$HOME/.rbenv/shims:$PATH"'
fi
if [ "$shell" = "bash" ]; then if [ "$shell" = "bash" ]; then
echo "source \"$root/completions/rbenv.bash\"" echo "source \"$root/completions/rbenv.bash\""