diff options
Diffstat (limited to 'config/p10k-classic.zsh')
-rw-r--r-- | config/p10k-classic.zsh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh index 0d740d16..2a0eb2fb 100644 --- a/config/p10k-classic.zsh +++ b/config/p10k-classic.zsh @@ -620,7 +620,10 @@ ################[ pyenv: python environment (https://github.com/pyenv/pyenv) ]################ # Pyenv color. typeset -g POWERLEVEL9K_PYENV_FOREGROUND=37 - # Don't show the current Python version if it's the same as global. + # Hide python version if it doesn't come from one of these sources. + typeset -g POWERLEVEL9K_PYENV_SOURCES=(shell local global) + # If set to false, hide python version if it's the same as global: + # $(pyenv version-name) == $(pyenv global). typeset -g POWERLEVEL9K_PYENV_PROMPT_ALWAYS_SHOW=false # Custom icon. # typeset -g POWERLEVEL9K_PYENV_VISUAL_IDENTIFIER_EXPANSION='⭐' |