Don't need to test if the shims directory is present since rbenv-rehash creates it
This commit is contained in:
parent
917b3687cb
commit
00b8b4db33
@ -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\""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user