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:
parent
226f35111e
commit
2da920e8eb
@ -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)"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user