From 40f40c29948c20e71d16b2003b459346c14fbdc6 Mon Sep 17 00:00:00 2001 From: romkatv Date: Mon, 12 Aug 2019 08:40:55 +0200 Subject: [PATCH] add rust_version to lean and classic configs --- config/p10k-classic.zsh | 11 +++++++++-- config/p10k-lean.zsh | 11 +++++++++-- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh index 240868ef..739ba6dd 100644 --- a/config/p10k-classic.zsh +++ b/config/p10k-classic.zsh @@ -49,7 +49,8 @@ fi nvm # node.js version from nvm (https://github.com/nvm-sh/nvm) nodeenv # node.js environment (https://github.com/ekalinin/nodeenv) # node_version # node.js version - # go_version # golang version + # go_version # go version (https://golang.org) + # rust_version # rustc version (https://www.rust-lang.org) 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/) @@ -492,12 +493,18 @@ fi # Custom icon. # typeset -g POWERLEVEL9K_NODE_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' - ################################[ go_version: golang version ]################################ + #######################[ go_version: go version (https://golang.org) ]######################## # Golang version color. typeset -g POWERLEVEL9K_GO_VERSION_FOREGROUND=37 # Custom icon. # typeset -g POWERLEVEL9K_GO_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' + #################[ rust_version: rustc version (https://www.rust-lang.org) ]################## + # Rust version color. + typeset -g POWERLEVEL9K_RUST_VERSION_FOREGROUND=37 + # Custom icon. + # typeset -g POWERLEVEL9K_RUST_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' + #############[ rbenv: ruby version from rbenv (https://github.com/rbenv/rbenv) ]############## # Rbenv color. typeset -g POWERLEVEL9K_RBENV_FOREGROUND=168 diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh index f2144d79..d9c7a40e 100644 --- a/config/p10k-lean.zsh +++ b/config/p10k-lean.zsh @@ -49,7 +49,8 @@ fi nvm # node.js version from nvm (https://github.com/nvm-sh/nvm) nodeenv # node.js environment (https://github.com/ekalinin/nodeenv) # node_version # node.js version - # go_version # golang version + # go_version # go version (https://golang.org) + # rust_version # rustc version (https://www.rust-lang.org) 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/) @@ -475,12 +476,18 @@ fi # Custom icon. # typeset -g POWERLEVEL9K_NODE_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' - ################################[ go_version: golang version ]################################ + #######################[ go_version: go version (https://golang.org) ]######################## # Golang version color. typeset -g POWERLEVEL9K_GO_VERSION_FOREGROUND=37 # Custom icon. # typeset -g POWERLEVEL9K_GO_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' + #################[ rust_version: rustc version (https://www.rust-lang.org) ]################## + # Rust version color. + typeset -g POWERLEVEL9K_RUST_VERSION_FOREGROUND=37 + # Custom icon. + # typeset -g POWERLEVEL9K_RUST_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' + #############[ rbenv: ruby version from rbenv (https://github.com/rbenv/rbenv) ]############## # Rbenv color. typeset -g POWERLEVEL9K_RBENV_FOREGROUND=168