mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
Add pyenv-virtualenv support to pyenv plugin.
This commit is contained in:
parent
9263e9ca59
commit
2993a79360
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue