mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-08 08:20:39 +01:00
perf(pyenv): do not check if it's disabled (#11338)
This commit is contained in:
@@ -78,7 +78,7 @@ if [[ $FOUND_PYENV -eq 1 ]]; then
|
|||||||
eval "$(pyenv init - --no-rehash zsh)"
|
eval "$(pyenv init - --no-rehash zsh)"
|
||||||
|
|
||||||
# If pyenv-virtualenv exists, load it
|
# If pyenv-virtualenv exists, load it
|
||||||
if [[ "$(pyenv commands)" =~ "virtualenv-init" && "$ZSH_PYENV_VIRTUALENV" != false ]]; then
|
if [[ "$ZSH_PYENV_VIRTUALENV" != false && "$(pyenv commands)" =~ "virtualenv-init" ]]; then
|
||||||
eval "$(pyenv virtualenv-init - zsh)"
|
eval "$(pyenv virtualenv-init - zsh)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user