diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh index baa380df..444c967d 100644 --- a/config/p10k-classic.zsh +++ b/config/p10k-classic.zsh @@ -55,6 +55,7 @@ fi nodeenv # node.js environment (https://github.com/ekalinin/nodeenv) # node_version # node.js version # go_version # golang version + # rbenv # ruby version from rbenv (https://github.com/rbenv/rbenv) kubecontext # current kubernetes context (https://kubernetes.io/) context # user@host nordvpn # nordvpn connection status, linux only (https://nordvpn.com/) @@ -497,6 +498,14 @@ fi # Custom icon. # typeset -g POWERLEVEL9K_GO_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' + #############[ 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). + typeset -g POWERLEVEL9K_RBENV_PROMPT_ALWAYS_SHOW=false + # Custom icon. + # typeset -g POWERLEVEL9K_RBENV_VISUAL_IDENTIFIER_EXPANSION='⭐' + #############[ kubecontext: current kubernetes context (https://kubernetes.io/) ]############# # Kubernetes context classes for the purpose of using different colors, icons and expansions with # different contexts. diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh index e4451fc0..5a94b43f 100644 --- a/config/p10k-lean.zsh +++ b/config/p10k-lean.zsh @@ -57,6 +57,7 @@ fi nodeenv # node.js environment (https://github.com/ekalinin/nodeenv) # node_version # node.js version # go_version # golang version + # rbenv # ruby version from rbenv (https://github.com/rbenv/rbenv) kubecontext # current kubernetes context (https://kubernetes.io/) context # user@host nordvpn # nordvpn connection status, linux only (https://nordvpn.com/) @@ -482,6 +483,14 @@ fi # Custom icon. # typeset -g POWERLEVEL9K_GO_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' + #############[ 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). + typeset -g POWERLEVEL9K_RBENV_PROMPT_ALWAYS_SHOW=false + # Custom icon. + # typeset -g POWERLEVEL9K_RBENV_VISUAL_IDENTIFIER_EXPANSION='⭐' + #############[ kubecontext: current kubernetes context (https://kubernetes.io/) ]############# # Kubernetes context classes for the purpose of using different colors, icons and expansions with # different contexts.