Make it so rbenv doesn't try to run if it's not installed
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Load rbebv, if you are using it
|
# Load rbebv, if you are using it
|
||||||
export PATH="$HOME/.rbenv/bin:$PATH"
|
export PATH="$HOME/.rbenv/bin:$PATH"
|
||||||
eval "$(rbenv init -)"
|
[[ `which rbenv` ]] && eval "$(rbenv init -)"
|
||||||
|
|
||||||
# Load the auto-completion script if rbenv was loaded.
|
# Load the auto-completion script if rbenv was loaded.
|
||||||
source ~/.rbenv/completions/rbenv.bash
|
[[ -e ~/.rbenv/completions/rbenv.bash ]] && source ~/.rbenv/completions/rbenv.bash
|
||||||
Reference in New Issue
Block a user