aboutsummaryrefslogtreecommitdiff
path: root/config/p10k-lean.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-07-29 17:13:37 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-07-29 17:13:37 +0300
commit3ae642c788e2c739911ca94e8a465280c1f70603 (patch)
treea003a1767dfebb9459a65ea18c868fc22b305b3a /config/p10k-lean.zsh
parentbdc211b64f9fe12921f80994fa871b61f7372eb2 (diff)
enable by default: virtualenv, anaconda, pyenv, nodenv, nvm, nodeenv
Diffstat (limited to 'config/p10k-lean.zsh')
-rw-r--r--config/p10k-lean.zsh28
1 files changed, 16 insertions, 12 deletions
diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh
index 996c7156..baea5b59 100644
--- a/config/p10k-lean.zsh
+++ b/config/p10k-lean.zsh
@@ -49,22 +49,22 @@ fi
status # exit code of the last command
command_execution_time # duration of the last command
background_jobs # presence of background jobs
- # 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)
- # 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)
+ 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)
+ 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)
# node_version # node.js version
# kubecontext # current kubernetes context (https://kubernetes.io/)
- # nordvpn # nordvpn connection status, linux only (https://nordvpn.com/)
- # example # example user-defined segment (see prompt_example function below)
context # user@host
# =========================[ Line #2 ]=========================
newline
+ # nordvpn # nordvpn connection status, linux only (https://nordvpn.com/)
# public_ip # public IP address
# battery # internal battery
# time # current time
+ # example # example user-defined segment (see prompt_example function below)
)
# Basic style options that define the overall look of your prompt. You probably don't want to
@@ -418,8 +418,8 @@ fi
###[ virtualenv: python virtual environment (https://docs.python.org/3/library/venv.html) ]###
# Python virtual environment color.
typeset -g POWERLEVEL9K_VIRTUALENV_FOREGROUND=37
- # Show Python version next to the virtual environment name.
- typeset -g POWERLEVEL9K_VIRTUALENV_SHOW_PYTHON_VERSION=true
+ # Don't show Python version next to the virtual environment name.
+ typeset -g POWERLEVEL9K_VIRTUALENV_SHOW_PYTHON_VERSION=false
# Separate environment name from Python version only with a space.
typeset -g POWERLEVEL9K_VIRTUALENV_{LEFT,RIGHT}_DELIMITER=
# Custom icon.
@@ -428,8 +428,8 @@ fi
#####################[ anaconda: conda environment (https://conda.io/) ]######################
# Anaconda environment color.
typeset -g POWERLEVEL9K_ANACONDA_FOREGROUND=37
- # Show Python version next to the anaconda environment name.
- typeset -g POWERLEVEL9K_ANACONDA_SHOW_PYTHON_VERSION=true
+ # Don't show Python version next to the anaconda environment name.
+ typeset -g POWERLEVEL9K_ANACONDA_SHOW_PYTHON_VERSION=false
# Separate environment name from Python version only with a space.
typeset -g POWERLEVEL9K_ANACONDA_{LEFT,RIGHT}_DELIMITER=
# Custom icon.
@@ -460,6 +460,10 @@ fi
############[ nodeenv: node.js environment (https://github.com/ekalinin/nodeenv) ]############
# Nodeenv color.
typeset -g POWERLEVEL9K_NODEENV_FOREGROUND=70
+ # Don't show Node version next to the environment name.
+ typeset -g POWERLEVEL9K_NODEENV_SHOW_NODE_VERSION=false
+ # Separate environment name from Node version only with a space.
+ typeset -g POWERLEVEL9K_NODEENV_{LEFT,RIGHT}_DELIMITER=
# Custom icon.
# typeset -g POWERLEVEL9K_NODEENV_VISUAL_IDENTIFIER_EXPANSION='⭐'