1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-22 12:20:07 +00:00

add rust_version to lean and classic configs

This commit is contained in:
romkatv 2019-08-12 08:40:55 +02:00
parent 36174484cc
commit 40f40c2994
2 changed files with 18 additions and 4 deletions

View file

@ -49,7 +49,8 @@ fi
nvm # node.js version from nvm (https://github.com/nvm-sh/nvm) nvm # node.js version from nvm (https://github.com/nvm-sh/nvm)
nodeenv # node.js environment (https://github.com/ekalinin/nodeenv) nodeenv # node.js environment (https://github.com/ekalinin/nodeenv)
# node_version # node.js version # 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) rbenv # ruby version from rbenv (https://github.com/rbenv/rbenv)
rvm # ruby version from rvm (https://rvm.io) rvm # ruby version from rvm (https://rvm.io)
kubecontext # current kubernetes context (https://kubernetes.io/) kubecontext # current kubernetes context (https://kubernetes.io/)
@ -492,12 +493,18 @@ fi
# Custom icon. # Custom icon.
# typeset -g POWERLEVEL9K_NODE_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' # typeset -g POWERLEVEL9K_NODE_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐'
################################[ go_version: golang version ]################################ #######################[ go_version: go version (https://golang.org) ]########################
# Golang version color. # Golang version color.
typeset -g POWERLEVEL9K_GO_VERSION_FOREGROUND=37 typeset -g POWERLEVEL9K_GO_VERSION_FOREGROUND=37
# Custom icon. # Custom icon.
# typeset -g POWERLEVEL9K_GO_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' # 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: ruby version from rbenv (https://github.com/rbenv/rbenv) ]##############
# Rbenv color. # Rbenv color.
typeset -g POWERLEVEL9K_RBENV_FOREGROUND=168 typeset -g POWERLEVEL9K_RBENV_FOREGROUND=168

View file

@ -49,7 +49,8 @@ fi
nvm # node.js version from nvm (https://github.com/nvm-sh/nvm) nvm # node.js version from nvm (https://github.com/nvm-sh/nvm)
nodeenv # node.js environment (https://github.com/ekalinin/nodeenv) nodeenv # node.js environment (https://github.com/ekalinin/nodeenv)
# node_version # node.js version # 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) rbenv # ruby version from rbenv (https://github.com/rbenv/rbenv)
rvm # ruby version from rvm (https://rvm.io) rvm # ruby version from rvm (https://rvm.io)
kubecontext # current kubernetes context (https://kubernetes.io/) kubecontext # current kubernetes context (https://kubernetes.io/)
@ -475,12 +476,18 @@ fi
# Custom icon. # Custom icon.
# typeset -g POWERLEVEL9K_NODE_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' # typeset -g POWERLEVEL9K_NODE_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐'
################################[ go_version: golang version ]################################ #######################[ go_version: go version (https://golang.org) ]########################
# Golang version color. # Golang version color.
typeset -g POWERLEVEL9K_GO_VERSION_FOREGROUND=37 typeset -g POWERLEVEL9K_GO_VERSION_FOREGROUND=37
# Custom icon. # Custom icon.
# typeset -g POWERLEVEL9K_GO_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' # 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: ruby version from rbenv (https://github.com/rbenv/rbenv) ]##############
# Rbenv color. # Rbenv color.
typeset -g POWERLEVEL9K_RBENV_FOREGROUND=168 typeset -g POWERLEVEL9K_RBENV_FOREGROUND=168