diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-12-12 17:38:56 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-12-12 17:38:56 +0300 |
commit | 5591ad2290513d48453e7ecf97310c7a9fffc8c3 (patch) | |
tree | b3ae8526c286e712135d14d1711b9df8e2028650 /config | |
parent | 82aba01ea809a1114a843a9c55f98c531d598c7f (diff) |
add POWERLEVEL9K_RBENV_SOURCES; fixes #372
Diffstat (limited to 'config')
-rw-r--r-- | config/p10k-classic.zsh | 5 | ||||
-rw-r--r-- | config/p10k-lean.zsh | 5 | ||||
-rw-r--r-- | config/p10k-rainbow.zsh | 5 |
3 files changed, 12 insertions, 3 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='⭐' diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh index bc5da31f..ce4d3332 100644 --- a/config/p10k-lean.zsh +++ b/config/p10k-lean.zsh @@ -596,7 +596,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='⭐' diff --git a/config/p10k-rainbow.zsh b/config/p10k-rainbow.zsh index f3c7265e..9419b4c5 100644 --- a/config/p10k-rainbow.zsh +++ b/config/p10k-rainbow.zsh @@ -630,7 +630,10 @@ # Pyenv color. # typeset -g POWERLEVEL9K_PYENV_FOREGROUND=0 # typeset -g POWERLEVEL9K_PYENV_BACKGROUND=4 - # 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='⭐' |