1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2026-04-06 20:57:47 +08:00

Update plugins/pyenv/pyenv.plugin.zsh

This commit is contained in:
Carlo Sala 2024-11-19 20:31:00 +01:00 committed by GitHub
parent 226f35111e
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)"