diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-11-18 13:32:53 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-11-18 13:32:53 +0300 |
commit | 1be144aed3773a1cc18cbe0b1140269a9c008d34 (patch) | |
tree | 9a7bf6d1c83004e35738cc1516187a206a666e35 /config/p10k-classic.zsh | |
parent | 700910cd0421a7d25d2800cefa76eb6d80dc62a8 (diff) |
add POWERLEVEL9K_RBENV_SOURCES; see #333
Diffstat (limited to 'config/p10k-classic.zsh')
-rw-r--r-- | config/p10k-classic.zsh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh index 9fa60c40..10c58094 100644 --- a/config/p10k-classic.zsh +++ b/config/p10k-classic.zsh @@ -655,7 +655,10 @@ #############[ rbenv: ruby version from rbenv (https://github.com/rbenv/rbenv) ]############## # Rbenv color. typeset -g POWERLEVEL9K_RBENV_FOREGROUND=168 - # Don't show ruby version if it's the same as global: $(rbenv version-name) == $(rbenv global). + # Hide ruby version if it doesn't come from one of these sources. + typeset -g POWERLEVEL9K_RBENV_SOURCES=(shell local global) + # If set to false, hide ruby version if it's the same as global: + # $(rbenv version-name) == $(rbenv global). typeset -g POWERLEVEL9K_RBENV_PROMPT_ALWAYS_SHOW=false # Custom icon. # typeset -g POWERLEVEL9K_RBENV_VISUAL_IDENTIFIER_EXPANSION='⭐' |