Merge pull request #796 from MunifTanjim/improve_rbenv_plugin
improve plugin for rbenvpull/800/head
commit
3d3eb2a28d
|
|
@ -3,9 +3,7 @@
|
||||||
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"
|
pathmunge "$HOME"/.rbenv/bin
|
||||||
|
[ -x `which rbenv` ] && eval "$(rbenv init -)"
|
||||||
|
|
||||||
[[ `which rbenv` ]] && eval "$(rbenv init -)"
|
[ -d "$HOME"/.rbenv/plugins/ruby-build ] && pathmunge "$HOME"/.rbenv/plugins/ruby-build/bin
|
||||||
|
|
||||||
# Load the auto-completion script if rbenv was loaded.
|
|
||||||
[[ -e ~/.rbenv/completions/rbenv.bash ]] && source ~/.rbenv/completions/rbenv.bash
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue