diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2020-01-28 12:00:15 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2020-01-28 12:00:15 +0300 |
commit | 589c679045eb7dd8f9f8c389d60c8410495f638b (patch) | |
tree | aaa77ed113d55964fb1526ace3371d2d22243e55 /config/p10k-lean.zsh | |
parent | 4d4c2658b3b3021fc2e1c061c3205ae13c493919 (diff) |
add POWERLEVEL9K_GOENV_SOURCES to config templates
Diffstat (limited to 'config/p10k-lean.zsh')
-rw-r--r-- | config/p10k-lean.zsh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh index a527dce3..018e6302 100644 --- a/config/p10k-lean.zsh +++ b/config/p10k-lean.zsh @@ -675,7 +675,10 @@ ################[ goenv: go environment (https://github.com/syndbg/goenv) ]################ # Goenv color. 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 # Custom icon. # typeset -g POWERLEVEL9K_GOENV_VISUAL_IDENTIFIER_EXPANSION='⭐' |