summaryrefslogtreecommitdiff
path: root/config/p10k-rainbow.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-rainbow.zsh
parent3340dc7269cc44bda4e6f03dc8e0daaff3e22556 (diff)
new prompt segment: goenv (see #342)
Diffstat (limited to 'config/p10k-rainbow.zsh')
-rw-r--r--config/p10k-rainbow.zsh10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/p10k-rainbow.zsh b/config/p10k-rainbow.zsh
index ce0f89dd..fb67b660 100644
--- a/config/p10k-rainbow.zsh
+++ b/config/p10k-rainbow.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)
@@ -620,6 +621,15 @@
# Custom icon.
# typeset -g POWERLEVEL9K_PYENV_VISUAL_IDENTIFIER_EXPANSION='⭐'
+ ################[ goenv: go environment (https://github.com/syndbg/goenv) ]################
+ # Goenv color.
+ # typeset -g POWERLEVEL9K_GOENV_FOREGROUND=0
+ # typeset -g POWERLEVEL9K_GOENV_BACKGROUND=4
+ # 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=2