perf(pyenv): do not check if it's disabled (#11338)

master
Isaac Levy 4 years ago committed by GitHub
parent fb66b67d68
commit b70977b256
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      plugins/pyenv/pyenv.plugin.zsh

@ -78,7 +78,7 @@ if [[ $FOUND_PYENV -eq 1 ]]; then
eval "$(pyenv init - --no-rehash zsh)"
# 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)"
fi

Loading…
Cancel
Save