Add pyenv-virtualenv support to pyenv plugin.

This commit is contained in:
Evan Sosenko 2015-06-12 17:14:06 -07:00
parent 9263e9ca59
commit 2993a79360

View File

@ -23,6 +23,10 @@ for pyenvdir in "${pyenvdirs[@]}" ; do
eval "$(pyenv virtualenv-init - zsh)"
fi
if [[ -d $pyenvdir/plugins/pyenv-virtualenv ]] ; then
eval "$(pyenv virtualenv-init -)"
fi
function pyenv_prompt_info() {
echo "$(pyenv version-name)"
}