aboutsummaryrefslogtreecommitdiff
path: root/config/p10k-classic.zsh
diff options
context:
space:
mode:
authorSad-Soul-Eater <Jarvis2709@gmail.com>2019-07-30 16:20:00 +0300
committerSad-Soul-Eater <Jarvis2709@gmail.com>2019-07-30 16:20:00 +0300
commitd6397e71ad5a50f547cbfcf22f70193127a0d2f2 (patch)
tree75ce0d1d5156595d04bbdbe6c76a9bd131bae724 /config/p10k-classic.zsh
parentf702fe5b78076eaa326ec8af64a541e14dc0f9b4 (diff)
add go_version segment
Diffstat (limited to 'config/p10k-classic.zsh')
-rw-r--r--config/p10k-classic.zsh9
1 files changed, 8 insertions, 1 deletions
diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh
index 3921b0a9..41e0b0fb 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_NODE_VERSION_FOREGROUND=14
+ # 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.