mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 04:10:07 +00:00
add POWERLEVEL9K_GOENV_SOURCES to config templates
This commit is contained in:
parent
4d4c2658b3
commit
589c679045
4 changed files with 16 additions and 4 deletions
|
@ -696,7 +696,10 @@
|
||||||
################[ goenv: go environment (https://github.com/syndbg/goenv) ]################
|
################[ goenv: go environment (https://github.com/syndbg/goenv) ]################
|
||||||
# Goenv color.
|
# Goenv color.
|
||||||
typeset -g POWERLEVEL9K_GOENV_FOREGROUND=37
|
typeset -g POWERLEVEL9K_GOENV_FOREGROUND=37
|
||||||
# Don't show the current Go version if it's the same as global.
|
# Hide go version if it doesn't come from one of these sources.
|
||||||
|
typeset -g POWERLEVEL9K_GOENV_SOURCES=(shell local global)
|
||||||
|
# If set to false, hide go version if it's the same as global:
|
||||||
|
# $(goenv version-name) == $(goenv global).
|
||||||
typeset -g POWERLEVEL9K_GOENV_PROMPT_ALWAYS_SHOW=false
|
typeset -g POWERLEVEL9K_GOENV_PROMPT_ALWAYS_SHOW=false
|
||||||
# Custom icon.
|
# Custom icon.
|
||||||
# typeset -g POWERLEVEL9K_GOENV_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
# typeset -g POWERLEVEL9K_GOENV_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||||
|
|
|
@ -675,7 +675,10 @@
|
||||||
################[ goenv: go environment (https://github.com/syndbg/goenv) ]################
|
################[ goenv: go environment (https://github.com/syndbg/goenv) ]################
|
||||||
# Goenv color.
|
# Goenv color.
|
||||||
typeset -g POWERLEVEL9K_GOENV_FOREGROUND=6
|
typeset -g POWERLEVEL9K_GOENV_FOREGROUND=6
|
||||||
# Don't show the current Go version if it's the same as global.
|
# Hide go version if it doesn't come from one of these sources.
|
||||||
|
typeset -g POWERLEVEL9K_GOENV_SOURCES=(shell local global)
|
||||||
|
# If set to false, hide go version if it's the same as global:
|
||||||
|
# $(goenv version-name) == $(goenv global).
|
||||||
typeset -g POWERLEVEL9K_GOENV_PROMPT_ALWAYS_SHOW=false
|
typeset -g POWERLEVEL9K_GOENV_PROMPT_ALWAYS_SHOW=false
|
||||||
# Custom icon.
|
# Custom icon.
|
||||||
# typeset -g POWERLEVEL9K_GOENV_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
# typeset -g POWERLEVEL9K_GOENV_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||||
|
|
|
@ -675,7 +675,10 @@
|
||||||
################[ goenv: go environment (https://github.com/syndbg/goenv) ]################
|
################[ goenv: go environment (https://github.com/syndbg/goenv) ]################
|
||||||
# Goenv color.
|
# Goenv color.
|
||||||
typeset -g POWERLEVEL9K_GOENV_FOREGROUND=37
|
typeset -g POWERLEVEL9K_GOENV_FOREGROUND=37
|
||||||
# Don't show the current Go version if it's the same as global.
|
# Hide go version if it doesn't come from one of these sources.
|
||||||
|
typeset -g POWERLEVEL9K_GOENV_SOURCES=(shell local global)
|
||||||
|
# If set to false, hide go version if it's the same as global:
|
||||||
|
# $(goenv version-name) == $(goenv global).
|
||||||
typeset -g POWERLEVEL9K_GOENV_PROMPT_ALWAYS_SHOW=false
|
typeset -g POWERLEVEL9K_GOENV_PROMPT_ALWAYS_SHOW=false
|
||||||
# Custom icon.
|
# Custom icon.
|
||||||
# typeset -g POWERLEVEL9K_GOENV_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
# typeset -g POWERLEVEL9K_GOENV_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||||
|
|
|
@ -715,7 +715,10 @@
|
||||||
# Goenv color.
|
# Goenv color.
|
||||||
# typeset -g POWERLEVEL9K_GOENV_FOREGROUND=0
|
# typeset -g POWERLEVEL9K_GOENV_FOREGROUND=0
|
||||||
# typeset -g POWERLEVEL9K_GOENV_BACKGROUND=4
|
# typeset -g POWERLEVEL9K_GOENV_BACKGROUND=4
|
||||||
# Don't show the current Go version if it's the same as global.
|
# Hide go version if it doesn't come from one of these sources.
|
||||||
|
typeset -g POWERLEVEL9K_GOENV_SOURCES=(shell local global)
|
||||||
|
# If set to false, hide go version if it's the same as global:
|
||||||
|
# $(goenv version-name) == $(goenv global).
|
||||||
typeset -g POWERLEVEL9K_GOENV_PROMPT_ALWAYS_SHOW=false
|
typeset -g POWERLEVEL9K_GOENV_PROMPT_ALWAYS_SHOW=false
|
||||||
# Custom icon.
|
# Custom icon.
|
||||||
# typeset -g POWERLEVEL9K_GOENV_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
# typeset -g POWERLEVEL9K_GOENV_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||||
|
|
Loading…
Reference in a new issue