summaryrefslogtreecommitdiff
path: root/config/p10k-lean.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-08-10 11:49:04 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-08-10 11:49:04 +0300
commit987123f378b0ecb9340b9db747855d5712ff150a (patch)
treebc8594130724fcfde712d993419ea53252be84bd /config/p10k-lean.zsh
parent626056865d5c5f19f2b9873462c4f4dac508d141 (diff)
add rvm to lean and classic configs
Diffstat (limited to 'config/p10k-lean.zsh')
-rw-r--r--config/p10k-lean.zsh11
1 files changed, 11 insertions, 0 deletions
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.