Remove errors if plugin executable not available
parent
5ce443759f
commit
12c49bd22f
|
|
@ -4,4 +4,4 @@ about-plugin 'Node.js helper functions'
|
||||||
pathmunge ./node_modules/.bin
|
pathmunge ./node_modules/.bin
|
||||||
|
|
||||||
# Make sure the global npm prefix is on the path
|
# Make sure the global npm prefix is on the path
|
||||||
[[ `which npm` ]] && pathmunge $(npm config get prefix)/bin
|
[[ `which npm 2>/dev/null` ]] && pathmunge $(npm config get prefix)/bin
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ 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 - bash)"
|
[[ `which pyenv 2>/dev/null` ]] && 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
|
||||||
|
|
|
||||||
|
|
@ -4,4 +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 - bash)"
|
[[ `which rbenv 2>/dev/null` ]] && eval "$(rbenv init - bash)"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue