add go_version segment

This commit is contained in:
Sad-Soul-Eater
2019-07-30 16:20:00 +03:00
parent f702fe5b78
commit d6397e71ad
2 changed files with 15 additions and 1 deletions
+7
View File
@@ -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_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.