Update plugins/pyenv/pyenv.plugin.zsh

This commit is contained in:
Carlo Sala 2024-11-19 20:31:00 +01:00 committed by GitHub
commit 2da920e8eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -96,7 +96,7 @@ if [[ $FOUND_PYENV -eq 1 ]]; then
else else
# Fall back to system python # Fall back to system python
function pyenv_prompt_info() { function pyenv_prompt_info() {
if [[ "$ZSH_PYENV_NO_SYSTEM" = "true" ]]; then if [[ "$ZSH_THEME_PYENV_NO_SYSTEM" == "true" ]]; then
return return
fi fi
local version="$(python3 -V 2>&1 | cut -d' ' -f2)" local version="$(python3 -V 2>&1 | cut -d' ' -f2)"