diff --git a/plugins/pyenv/pyenv.plugin.zsh b/plugins/pyenv/pyenv.plugin.zsh index aa1f9488..196e49ee 100644 --- a/plugins/pyenv/pyenv.plugin.zsh +++ b/plugins/pyenv/pyenv.plugin.zsh @@ -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)" }