mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-24 13:10:07 +00:00
add POWERLEVEL9K_NODENV_SOURCES to config templates
This commit is contained in:
parent
cff3575c15
commit
cdb856e374
4 changed files with 16 additions and 4 deletions
|
@ -920,7 +920,10 @@
|
||||||
##########[ nodenv: node.js version from nodenv (https://github.com/nodenv/nodenv) ]##########
|
##########[ nodenv: node.js version from nodenv (https://github.com/nodenv/nodenv) ]##########
|
||||||
# Nodenv color.
|
# Nodenv color.
|
||||||
typeset -g POWERLEVEL9K_NODENV_FOREGROUND=70
|
typeset -g POWERLEVEL9K_NODENV_FOREGROUND=70
|
||||||
# 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
|
typeset -g POWERLEVEL9K_NODENV_PROMPT_ALWAYS_SHOW=false
|
||||||
# Custom icon.
|
# Custom icon.
|
||||||
# typeset -g POWERLEVEL9K_NODENV_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
# typeset -g POWERLEVEL9K_NODENV_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||||
|
|
|
@ -899,7 +899,10 @@
|
||||||
##########[ nodenv: node.js version from nodenv (https://github.com/nodenv/nodenv) ]##########
|
##########[ nodenv: node.js version from nodenv (https://github.com/nodenv/nodenv) ]##########
|
||||||
# Nodenv color.
|
# Nodenv color.
|
||||||
typeset -g POWERLEVEL9K_NODENV_FOREGROUND=2
|
typeset -g POWERLEVEL9K_NODENV_FOREGROUND=2
|
||||||
# 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
|
typeset -g POWERLEVEL9K_NODENV_PROMPT_ALWAYS_SHOW=false
|
||||||
# Custom icon.
|
# Custom icon.
|
||||||
# typeset -g POWERLEVEL9K_NODENV_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
# typeset -g POWERLEVEL9K_NODENV_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||||
|
|
|
@ -899,7 +899,10 @@
|
||||||
##########[ nodenv: node.js version from nodenv (https://github.com/nodenv/nodenv) ]##########
|
##########[ nodenv: node.js version from nodenv (https://github.com/nodenv/nodenv) ]##########
|
||||||
# Nodenv color.
|
# Nodenv color.
|
||||||
typeset -g POWERLEVEL9K_NODENV_FOREGROUND=70
|
typeset -g POWERLEVEL9K_NODENV_FOREGROUND=70
|
||||||
# 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
|
typeset -g POWERLEVEL9K_NODENV_PROMPT_ALWAYS_SHOW=false
|
||||||
# Custom icon.
|
# Custom icon.
|
||||||
# typeset -g POWERLEVEL9K_NODENV_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
# typeset -g POWERLEVEL9K_NODENV_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||||
|
|
|
@ -958,7 +958,10 @@
|
||||||
# Nodenv color.
|
# Nodenv color.
|
||||||
# typeset -g POWERLEVEL9K_NODENV_FOREGROUND=2
|
# typeset -g POWERLEVEL9K_NODENV_FOREGROUND=2
|
||||||
# typeset -g POWERLEVEL9K_NODENV_BACKGROUND=0
|
# 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
|
typeset -g POWERLEVEL9K_NODENV_PROMPT_ALWAYS_SHOW=false
|
||||||
# Custom icon.
|
# Custom icon.
|
||||||
# typeset -g POWERLEVEL9K_NODENV_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
# typeset -g POWERLEVEL9K_NODENV_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||||
|
|
Loading…
Reference in a new issue