Remove errors if plugin executable not available
This commit is contained in:
@@ -4,7 +4,7 @@ about-plugin 'load pyenv, if you are using it'
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
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.
|
||||
if pyenv virtualenv-init - &> /dev/null; then
|
||||
|
||||
Reference in New Issue
Block a user