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
# Fall back to system python
function pyenv_prompt_info() {
if [[ "$ZSH_PYENV_NO_SYSTEM" = "true" ]]; then
if [[ "$ZSH_THEME_PYENV_NO_SYSTEM" == "true" ]]; then
return
fi
local version="$(python3 -V 2>&1 | cut -d' ' -f2)"