init - bash its automatically load auto-completion
parent
8feebc0aa9
commit
310ee837c9
|
|
@ -4,6 +4,4 @@ about-plugin 'load jenv, if you are using it'
|
||||||
export JENV_ROOT="$HOME/.jenv"
|
export JENV_ROOT="$HOME/.jenv"
|
||||||
pathmunge "$JENV_ROOT/bin"
|
pathmunge "$JENV_ROOT/bin"
|
||||||
|
|
||||||
if which jenv > /dev/null; then eval "$(jenv init -)"; fi
|
if which jenv > /dev/null; then eval "$(jenv init - bash)"; fi
|
||||||
|
|
||||||
[[ -e $JENV_ROOT/completions/jenv.bash ]] && source $JENV_ROOT/completions/jenv.bash
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,4 @@ about-plugin 'load nodenv, if you are using it'
|
||||||
export NODENV_ROOT="$HOME/.nodenv"
|
export NODENV_ROOT="$HOME/.nodenv"
|
||||||
pathmunge "$NODENV_ROOT/bin"
|
pathmunge "$NODENV_ROOT/bin"
|
||||||
|
|
||||||
[[ `which nodenv` ]] && eval "$(nodenv init -)"
|
[[ `which nodenv` ]] && eval "$(nodenv init - bash)"
|
||||||
|
|
||||||
# Load the auto-completion script if nodenv was loaded.
|
|
||||||
[[ -e $NODENV_ROOT/completions/nodenv.bash ]] && source $NODENV_ROOT/completions/nodenv.bash
|
|
||||||
|
|
|
||||||
|
|
@ -4,18 +4,15 @@ cite about-plugin
|
||||||
about-plugin 'plenv plugin for Perl'
|
about-plugin 'plenv plugin for Perl'
|
||||||
|
|
||||||
if [[ -e "${HOME}/.plenv/bin" ]] ; then
|
if [[ -e "${HOME}/.plenv/bin" ]] ; then
|
||||||
|
|
||||||
# load plenv bin dir into path if it exists
|
# load plenv bin dir into path if it exists
|
||||||
pathmunge "${HOME}/.plenv/bin"
|
pathmunge "${HOME}/.plenv/bin"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ `which plenv` ]] ; then
|
if [[ `which plenv` ]] ; then
|
||||||
|
|
||||||
# init plenv
|
# init plenv
|
||||||
eval "$(plenv init -)"
|
eval "$(plenv init - bash)"
|
||||||
|
|
||||||
# Load the auto-completion script if it exists.
|
|
||||||
[[ -e "${HOME}/.plenv/completions/plenv.bash" ]] && source "${HOME}/.plenv/completions/plenv.bash"
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -4,12 +4,9 @@ about-plugin 'load pyenv, if you are using it'
|
||||||
export PYENV_ROOT="$HOME/.pyenv"
|
export PYENV_ROOT="$HOME/.pyenv"
|
||||||
pathmunge "$PYENV_ROOT/bin"
|
pathmunge "$PYENV_ROOT/bin"
|
||||||
|
|
||||||
[[ `which pyenv` ]] && eval "$(pyenv init -)"
|
[[ `which pyenv` ]] && eval "$(pyenv init - bash)"
|
||||||
|
|
||||||
#Load pyenv virtualenv if the virtualenv plugin is installed.
|
#Load pyenv virtualenv if the virtualenv plugin is installed.
|
||||||
if pyenv virtualenv-init - &> /dev/null; then
|
if pyenv virtualenv-init - &> /dev/null; then
|
||||||
eval "$(pyenv virtualenv-init -)"
|
eval "$(pyenv virtualenv-init - bash)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Load the auto-completion script if pyenv was loaded.
|
|
||||||
[[ -e $PYENV_ROOT/completions/pyenv.bash ]] && source $PYENV_ROOT/completions/pyenv.bash
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,4 @@ about-plugin 'load rbenv, if you are using it'
|
||||||
export RBENV_ROOT="$HOME/.rbenv"
|
export RBENV_ROOT="$HOME/.rbenv"
|
||||||
pathmunge "$RBENV_ROOT/bin"
|
pathmunge "$RBENV_ROOT/bin"
|
||||||
|
|
||||||
[[ `which rbenv` ]] && eval "$(rbenv init -)"
|
[[ `which rbenv` ]] && eval "$(rbenv init - bash)"
|
||||||
|
|
||||||
# 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