Run pyenv virtualenvwrapper and remove virtualenv-init cmd
This commit is contained in:
@@ -6,10 +6,5 @@ export PATH="$PYENV_PATH:$PATH"
|
||||
|
||||
[[ `which pyenv` ]] && eval "$(pyenv init -)"
|
||||
|
||||
#Load pyenv virtualenv if the virtualenv plugin is installed.
|
||||
if pyenv virtualenv-init - &> /dev/null; then
|
||||
eval "$(pyenv virtualenv-init -)"
|
||||
fi
|
||||
|
||||
# Load the auto-completion script if pyenv was loaded.
|
||||
[[ -e $PYENV_ROOT/completions/pyenv.bash ]] && source $PYENV_ROOT/completions/pyenv.bash
|
||||
|
||||
Reference in New Issue
Block a user