Merge pull request #1250 from sptndc/rbenv-plugin
Don't export ruby-build/bin to PATHpull/1252/head
commit
67f36cc51b
|
|
@ -1,9 +1,10 @@
|
||||||
# Load rbebv, if you are using it
|
|
||||||
|
|
||||||
cite about-plugin
|
cite about-plugin
|
||||||
about-plugin 'load rbenv, if you are using it'
|
about-plugin 'load rbenv, if you are using it'
|
||||||
|
|
||||||
pathmunge "$HOME"/.rbenv/bin
|
export RBENV_ROOT="$HOME/.rbenv"
|
||||||
[ -x `which rbenv` ] && eval "$(rbenv init -)"
|
pathmunge "$RBENV_ROOT/bin"
|
||||||
|
|
||||||
[ -d "$HOME"/.rbenv/plugins/ruby-build ] && pathmunge "$HOME"/.rbenv/plugins/ruby-build/bin
|
[[ `which rbenv` ]] && eval "$(rbenv init -)"
|
||||||
|
|
||||||
|
# Load the auto-completion script if rbenv was loaded.
|
||||||
|
[[ -e $RBENV_ROOT/completions/rbenv.bash ]] && source $RBENV_ROOT/completions/rbenv.bash
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue