diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-12-01 14:47:03 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-12-01 14:47:03 +0300 |
commit | ac2f387dfd68007801ab75004b076e89ce88eab9 (patch) | |
tree | c288eb82bad0c065a62fd695ac4b9b71e0e74ffd /config/p10k-classic.zsh | |
parent | 3340dc7269cc44bda4e6f03dc8e0daaff3e22556 (diff) |
new prompt segment: goenv (see #342)
Diffstat (limited to 'config/p10k-classic.zsh')
-rw-r--r-- | config/p10k-classic.zsh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh index 882a7f18..6192d6fe 100644 --- a/config/p10k-classic.zsh +++ b/config/p10k-classic.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) @@ -611,6 +612,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 |