aboutsummaryrefslogtreecommitdiff
path: root/config/p10k-classic.zsh
diff options
context:
space:
mode:
authorZaidhaan Hussain <zaidhaan03@gmail.com>2023-05-07 12:10:08 +0300
committerZaidhaan Hussain <zaidhaan03@gmail.com>2023-05-07 12:16:16 +0300
commit4ed8aae3246da5c8f16978266ba6af139a1d06ca (patch)
tree003e54808412be484af54889c5c28c96881db23a /config/p10k-classic.zsh
parent5d16c106ed2807fb368dcac4df0e2b3dd619bb8d (diff)
nvm: implement POWERLEVEL9K_NVM_PROMPT_ALWAYS_SHOW and default to false
Diffstat (limited to 'config/p10k-classic.zsh')
-rw-r--r--config/p10k-classic.zsh3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh
index 231c8009..d29aa2f8 100644
--- a/config/p10k-classic.zsh
+++ b/config/p10k-classic.zsh
@@ -1007,6 +1007,9 @@
##############[ nvm: node.js version from nvm (https://github.com/nvm-sh/nvm) ]###############
# Nvm color.
typeset -g POWERLEVEL9K_NVM_FOREGROUND=70
+ # If set to false, hide node version if it's the same as default:
+ # $(nvm version current) == $(nvm version default).
+ typeset -g POWERLEVEL9K_NVM_PROMPT_ALWAYS_SHOW=false
# If set to false, hide node version if it's equal to "system".
typeset -g POWERLEVEL9K_NVM_SHOW_SYSTEM=true
# Custom icon.