summaryrefslogtreecommitdiff
path: root/config/p10k-lean.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-12-01 14:47:03 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-12-01 14:47:03 +0300
commitac2f387dfd68007801ab75004b076e89ce88eab9 (patch)
treec288eb82bad0c065a62fd695ac4b9b71e0e74ffd /config/p10k-lean.zsh
parent3340dc7269cc44bda4e6f03dc8e0daaff3e22556 (diff)
new prompt segment: goenv (see #342)
Diffstat (limited to 'config/p10k-lean.zsh')
-rw-r--r--config/p10k-lean.zsh9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh
index 0a7e58bd..670036a6 100644
--- a/config/p10k-lean.zsh
+++ b/config/p10k-lean.zsh
@@ -51,6 +51,7 @@
virtualenv # python virtual environment (https://docs.python.org/3/library/venv.html)
anaconda # conda environment (https://conda.io/)
pyenv # python environment (https://github.com/pyenv/pyenv)
+ goenv # go environment (https://github.com/syndbg/goenv)
nodenv # node.js version from nodenv (https://github.com/nodenv/nodenv)
nvm # node.js version from nvm (https://github.com/nvm-sh/nvm)
nodeenv # node.js environment (https://github.com/ekalinin/nodeenv)
@@ -587,6 +588,14 @@
# Custom icon.
# typeset -g POWERLEVEL9K_PYENV_VISUAL_IDENTIFIER_EXPANSION='⭐'
+ ################[ goenv: go environment (https://github.com/syndbg/goenv) ]################
+ # Goenv color.
+ typeset -g POWERLEVEL9K_GOENV_FOREGROUND=37
+ # Don't show the current Go version if it's the same as global.
+ typeset -g POWERLEVEL9K_GOENV_PROMPT_ALWAYS_SHOW=false
+ # Custom icon.
+ # typeset -g POWERLEVEL9K_GOENV_VISUAL_IDENTIFIER_EXPANSION='⭐'
+
##########[ nodenv: node.js version from nodenv (https://github.com/nodenv/nodenv) ]##########
# Nodenv color.
typeset -g POWERLEVEL9K_NODENV_FOREGROUND=70