FIX pyenv bugs
This commit is contained in:
parent
539a16ce9f
commit
ba619b6907
|
@ -438,11 +438,14 @@ zsh-pyenv () {
|
|||
|
||||
if command -v pyenv 1>/dev/null 2>&1; then
|
||||
echo "Activating pyenv"
|
||||
eval "$(pyenv init - | sed '/PATH/d' -)"
|
||||
eval "$(pyenv virtualenv-init - | sed '/PATH/d' -)"
|
||||
eval "$(pyenv init -)"
|
||||
else
|
||||
echo "pyenv not installed"
|
||||
fi
|
||||
#if command -v pyenv-virtualenv-init 1>/dev/null 2>&1; then
|
||||
# echo "Activating pyenv-virtualenv"
|
||||
# eval "$(pyenv virtualenv-init - | sed '/PATH/d' -)"
|
||||
#fi
|
||||
}
|
||||
{{- end }}
|
||||
|
||||
|
|
Loading…
Reference in New Issue