diff options
author | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2019-07-30 17:05:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-30 17:05:50 +0300 |
commit | b756c7ab775b7c3345b32c2876188459aea57ad1 (patch) | |
tree | 951f7d3261ca1fe3cf0d2c0aca2fc2990889c417 | |
parent | 5000969dc632262e8d34e46b93fcbf6d1f857bca (diff) | |
parent | 39538b3b5cfe4f504bdac4b9eeb628ac7c9ae203 (diff) |
Merge pull request #141 from Sad-Soul-Eater/go_version
Add go_version segment
-rw-r--r-- | config/p10k-classic.zsh | 9 | ||||
-rw-r--r-- | config/p10k-lean.zsh | 7 |
2 files changed, 15 insertions, 1 deletions
diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh index 3921b0a9..66416a53 100644 --- a/config/p10k-classic.zsh +++ b/config/p10k-classic.zsh @@ -54,6 +54,7 @@ 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 kubecontext # current kubernetes context (https://kubernetes.io/) context # user@host # =========================[ Line #2 ]========================= @@ -232,7 +233,7 @@ fi # Enable special styling for non-writable directories. typeset -g POWERLEVEL9K_DIR_SHOW_WRITABLE=true - # Show this icon when the current directory is not writable. Empty for no icon. + # Show this icon when the current directory is not writable. Empty for no icon. # typeset -g POWERLEVEL9K_DIR_NOT_WRITABLE_VISUAL_IDENTIFIER_EXPANSION='⭐' # Custom prefix. @@ -490,6 +491,12 @@ fi # Custom icon. # typeset -g POWERLEVEL9K_NODE_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' + ################################[ go_version: golang version ]################################ + # Golang version color. + typeset -g POWERLEVEL9K_GO_VERSION_FOREGROUND=37 + # Custom icon. + # typeset -g POWERLEVEL9K_GO_VERSION_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 06192a1c..6f3266eb 100644 --- a/config/p10k-lean.zsh +++ b/config/p10k-lean.zsh @@ -56,6 +56,7 @@ 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 kubecontext # current kubernetes context (https://kubernetes.io/) context # user@host # =========================[ Line #2 ]========================= @@ -475,6 +476,12 @@ fi # Custom icon. # typeset -g POWERLEVEL9K_NODE_VERSION_VISUAL_IDENTIFIER_EXPANSION='⭐' + ################################[ go_version: golang version ]################################ + # Golang version color. + typeset -g POWERLEVEL9K_GO_VERSION_FOREGROUND=37 + # Custom icon. + # typeset -g POWERLEVEL9K_GO_VERSION_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. |