From 987123f378b0ecb9340b9db747855d5712ff150a Mon Sep 17 00:00:00 2001 From: romkatv Date: Sat, 10 Aug 2019 10:49:04 +0200 Subject: [PATCH] add rvm to lean and classic configs --- config/p10k-classic.zsh | 11 +++++++++++ config/p10k-lean.zsh | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh index c9cc2e59..cb252578 100644 --- a/config/p10k-classic.zsh +++ b/config/p10k-classic.zsh @@ -51,6 +51,7 @@ fi # node_version # node.js version # go_version # golang version # rbenv # ruby version from rbenv (https://github.com/rbenv/rbenv) + rvm # ruby version from rvm (https://rvm.io) kubecontext # current kubernetes context (https://kubernetes.io/) context # user@host nordvpn # nordvpn connection status, linux only (https://nordvpn.com/) @@ -505,6 +506,16 @@ fi # Custom icon. # typeset -g POWERLEVEL9K_RBENV_VISUAL_IDENTIFIER_EXPANSION='⭐' + #######################[ rvm: ruby version from rvm (https://rvm.io) ]######################## + # Rvm color. + typeset -g POWERLEVEL9K_RVM_FOREGROUND=168 + # Don't show @gemset at the end. + typeset -g POWERLEVEL9K_RVM_SHOW_GEMSET=false + # Don't show ruby- at the front. + typeset -g POWERLEVEL9K_RVM_SHOW_PREFIX=false + # Custom icon. + # typeset -g POWERLEVEL9K_RVM_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 d34d0c2b..8ce65e83 100644 --- a/config/p10k-lean.zsh +++ b/config/p10k-lean.zsh @@ -51,6 +51,7 @@ fi # node_version # node.js version # go_version # golang version # rbenv # ruby version from rbenv (https://github.com/rbenv/rbenv) + rvm # ruby version from rvm (https://rvm.io) kubecontext # current kubernetes context (https://kubernetes.io/) context # user@host nordvpn # nordvpn connection status, linux only (https://nordvpn.com/) @@ -488,6 +489,16 @@ fi # Custom icon. # typeset -g POWERLEVEL9K_RBENV_VISUAL_IDENTIFIER_EXPANSION='⭐' + #######################[ rvm: ruby version from rvm (https://rvm.io) ]######################## + # Rvm color. + typeset -g POWERLEVEL9K_RVM_FOREGROUND=168 + # Don't show @gemset at the end. + typeset -g POWERLEVEL9K_RVM_SHOW_GEMSET=false + # Don't show ruby- at the front. + typeset -g POWERLEVEL9K_RVM_SHOW_PREFIX=false + # Custom icon. + # typeset -g POWERLEVEL9K_RVM_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.