diff options
Diffstat (limited to 'config/p10k-rainbow.zsh')
-rw-r--r-- | config/p10k-rainbow.zsh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/p10k-rainbow.zsh b/config/p10k-rainbow.zsh index 658f7ae8..4f042285 100644 --- a/config/p10k-rainbow.zsh +++ b/config/p10k-rainbow.zsh @@ -958,7 +958,10 @@ # Nodenv color. # typeset -g POWERLEVEL9K_NODENV_FOREGROUND=2 # typeset -g POWERLEVEL9K_NODENV_BACKGROUND=0 - # Don't show node version if it's the same as global: $(nodenv version-name) == $(nodenv global). + # Hide node version if it doesn't come from one of these sources. + typeset -g POWERLEVEL9K_NODENV_SOURCES=(shell local global) + # If set to false, hide node version if it's the same as global: + # $(nodenv version-name) == $(nodenv global). typeset -g POWERLEVEL9K_NODENV_PROMPT_ALWAYS_SHOW=false # Custom icon. # typeset -g POWERLEVEL9K_NODENV_VISUAL_IDENTIFIER_EXPANSION='⭐' |