Add pyenv-virtualenv support to pyenv plugin.
This commit is contained in:
parent
9263e9ca59
commit
2993a79360
@ -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)"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user