Add pyenv-virtualenv support

This commit is contained in:
Robson Roberto Souza Peixoto 2016-02-02 11:53:53 -03:00
parent 7227c4f0be
commit 3b307f0ecf

View file

@ -29,6 +29,11 @@ else
fi
fi
# Load package manager installed pyenv-virtualenv into the shell session.
if (( $+commands[pyenv-virtualenv-init] )); then
eval "$(pyenv virtualenv-init -)"
fi
# Return if requirements are not found.
if (( ! $+commands[python] && ! $+commands[pyenv] )); then
return 1