diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-08-12 09:56:47 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-08-12 09:56:47 +0300 |
commit | bafade896322cdf6d6db220bd41fee2595e8d1a7 (patch) | |
tree | dbbef98dfc3089571836e80a646168d8f15d9ff9 /config/p10k-lean.zsh | |
parent | 40f40c29948c20e71d16b2003b459346c14fbdc6 (diff) |
add POWERLEVEL9K_RUST_VERSION_PROJECT_ONLY and POWERLEVEL9K_GO_VERSION_PROJECT_ONLY
Diffstat (limited to 'config/p10k-lean.zsh')
-rw-r--r-- | config/p10k-lean.zsh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh index d9c7a40e..ea74b926 100644 --- a/config/p10k-lean.zsh +++ b/config/p10k-lean.zsh @@ -477,14 +477,18 @@ fi # typeset -g POWERLEVEL9K_NODE_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' #######################[ go_version: go version (https://golang.org) ]######################## - # Golang version color. + # Go version color. typeset -g POWERLEVEL9K_GO_VERSION_FOREGROUND=37 + # Show go version only when in a go project subdirectory. + typeset -g POWERLEVEL9K_GO_VERSION_PROJECT_ONLY=true # 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 + # Show rust version only when in a rust project subdirectory. + typeset -g POWERLEVEL9K_RUST_VERSION_PROJECT_ONLY=true # Custom icon. # typeset -g POWERLEVEL9K_RUST_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' |