mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-12 08:10:07 +00:00
enable by default: virtualenv, anaconda, pyenv, nodenv, nvm, nodeenv
This commit is contained in:
parent
bdc211b64f
commit
3ae642c788
2 changed files with 31 additions and 23 deletions
|
@ -47,15 +47,14 @@ fi
|
||||||
status # exit code of the last command
|
status # exit code of the last command
|
||||||
command_execution_time # duration of the last command
|
command_execution_time # duration of the last command
|
||||||
background_jobs # presence of background jobs
|
background_jobs # presence of background jobs
|
||||||
# virtualenv # python virtual environment (https://docs.python.org/3/library/venv.html)
|
virtualenv # python virtual environment (https://docs.python.org/3/library/venv.html)
|
||||||
# anaconda # conda environment (https://conda.io/)
|
anaconda # conda environment (https://conda.io/)
|
||||||
# pyenv # python environment (https://github.com/pyenv/pyenv)
|
pyenv # python environment (https://github.com/pyenv/pyenv)
|
||||||
# nodenv # node.js version from nodenv (https://github.com/nodenv/nodenv)
|
nodenv # node.js version from nodenv (https://github.com/nodenv/nodenv)
|
||||||
# nvm # node.js version from nvm (https://github.com/nvm-sh/nvm)
|
nvm # node.js version from nvm (https://github.com/nvm-sh/nvm)
|
||||||
# nodeenv # node.js environment (https://github.com/ekalinin/nodeenv)
|
nodeenv # node.js environment (https://github.com/ekalinin/nodeenv)
|
||||||
# node_version # node.js version
|
# node_version # node.js version
|
||||||
# kubecontext # current kubernetes context (https://kubernetes.io/)
|
# kubecontext # current kubernetes context (https://kubernetes.io/)
|
||||||
# example # example user-defined segment (see prompt_example function below)
|
|
||||||
context # user@host
|
context # user@host
|
||||||
# =========================[ Line #2 ]=========================
|
# =========================[ Line #2 ]=========================
|
||||||
newline
|
newline
|
||||||
|
@ -63,6 +62,7 @@ fi
|
||||||
# public_ip # public IP address
|
# public_ip # public IP address
|
||||||
# battery # internal battery
|
# battery # internal battery
|
||||||
# time # current time
|
# time # current time
|
||||||
|
# example # example user-defined segment (see prompt_example function below)
|
||||||
)
|
)
|
||||||
|
|
||||||
# To disable default icons for all segments, set POWERLEVEL9K_VISUAL_IDENTIFIER_EXPANSION=''.
|
# To disable default icons for all segments, set POWERLEVEL9K_VISUAL_IDENTIFIER_EXPANSION=''.
|
||||||
|
@ -427,8 +427,8 @@ fi
|
||||||
###[ virtualenv: python virtual environment (https://docs.python.org/3/library/venv.html) ]###
|
###[ virtualenv: python virtual environment (https://docs.python.org/3/library/venv.html) ]###
|
||||||
# Python virtual environment color.
|
# Python virtual environment color.
|
||||||
typeset -g POWERLEVEL9K_VIRTUALENV_FOREGROUND=37
|
typeset -g POWERLEVEL9K_VIRTUALENV_FOREGROUND=37
|
||||||
# Show Python version next to the virtual environment name.
|
# Don't show Python version next to the virtual environment name.
|
||||||
typeset -g POWERLEVEL9K_VIRTUALENV_SHOW_PYTHON_VERSION=true
|
typeset -g POWERLEVEL9K_VIRTUALENV_SHOW_PYTHON_VERSION=false
|
||||||
# Separate environment name from Python version only with a space.
|
# Separate environment name from Python version only with a space.
|
||||||
typeset -g POWERLEVEL9K_VIRTUALENV_{LEFT,RIGHT}_DELIMITER=
|
typeset -g POWERLEVEL9K_VIRTUALENV_{LEFT,RIGHT}_DELIMITER=
|
||||||
# Custom icon.
|
# Custom icon.
|
||||||
|
@ -437,8 +437,8 @@ fi
|
||||||
#####################[ anaconda: conda environment (https://conda.io/) ]######################
|
#####################[ anaconda: conda environment (https://conda.io/) ]######################
|
||||||
# Anaconda environment color.
|
# Anaconda environment color.
|
||||||
typeset -g POWERLEVEL9K_ANACONDA_FOREGROUND=37
|
typeset -g POWERLEVEL9K_ANACONDA_FOREGROUND=37
|
||||||
# Show Python version next to the anaconda environment name.
|
# Don't show Python version next to the anaconda environment name.
|
||||||
typeset -g POWERLEVEL9K_ANACONDA_SHOW_PYTHON_VERSION=true
|
typeset -g POWERLEVEL9K_ANACONDA_SHOW_PYTHON_VERSION=false
|
||||||
# Separate environment name from Python version only with a space.
|
# Separate environment name from Python version only with a space.
|
||||||
typeset -g POWERLEVEL9K_ANACONDA_{LEFT,RIGHT}_DELIMITER=
|
typeset -g POWERLEVEL9K_ANACONDA_{LEFT,RIGHT}_DELIMITER=
|
||||||
# Custom icon.
|
# Custom icon.
|
||||||
|
@ -469,6 +469,10 @@ fi
|
||||||
############[ nodeenv: node.js environment (https://github.com/ekalinin/nodeenv) ]############
|
############[ nodeenv: node.js environment (https://github.com/ekalinin/nodeenv) ]############
|
||||||
# Nodeenv color.
|
# Nodeenv color.
|
||||||
typeset -g POWERLEVEL9K_NODEENV_FOREGROUND=70
|
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.
|
# Custom icon.
|
||||||
# typeset -g POWERLEVEL9K_NODEENV_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
# typeset -g POWERLEVEL9K_NODEENV_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||||
|
|
||||||
|
|
|
@ -49,22 +49,22 @@ fi
|
||||||
status # exit code of the last command
|
status # exit code of the last command
|
||||||
command_execution_time # duration of the last command
|
command_execution_time # duration of the last command
|
||||||
background_jobs # presence of background jobs
|
background_jobs # presence of background jobs
|
||||||
# virtualenv # python virtual environment (https://docs.python.org/3/library/venv.html)
|
virtualenv # python virtual environment (https://docs.python.org/3/library/venv.html)
|
||||||
# anaconda # conda environment (https://conda.io/)
|
anaconda # conda environment (https://conda.io/)
|
||||||
# pyenv # python environment (https://github.com/pyenv/pyenv)
|
pyenv # python environment (https://github.com/pyenv/pyenv)
|
||||||
# nodenv # node.js version from nodenv (https://github.com/nodenv/nodenv)
|
nodenv # node.js version from nodenv (https://github.com/nodenv/nodenv)
|
||||||
# nvm # node.js version from nvm (https://github.com/nvm-sh/nvm)
|
nvm # node.js version from nvm (https://github.com/nvm-sh/nvm)
|
||||||
# nodeenv # node.js environment (https://github.com/ekalinin/nodeenv)
|
nodeenv # node.js environment (https://github.com/ekalinin/nodeenv)
|
||||||
# node_version # node.js version
|
# node_version # node.js version
|
||||||
# kubecontext # current kubernetes context (https://kubernetes.io/)
|
# 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
|
context # user@host
|
||||||
# =========================[ Line #2 ]=========================
|
# =========================[ Line #2 ]=========================
|
||||||
newline
|
newline
|
||||||
|
# nordvpn # nordvpn connection status, linux only (https://nordvpn.com/)
|
||||||
# public_ip # public IP address
|
# public_ip # public IP address
|
||||||
# battery # internal battery
|
# battery # internal battery
|
||||||
# time # current time
|
# 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
|
# 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) ]###
|
###[ virtualenv: python virtual environment (https://docs.python.org/3/library/venv.html) ]###
|
||||||
# Python virtual environment color.
|
# Python virtual environment color.
|
||||||
typeset -g POWERLEVEL9K_VIRTUALENV_FOREGROUND=37
|
typeset -g POWERLEVEL9K_VIRTUALENV_FOREGROUND=37
|
||||||
# Show Python version next to the virtual environment name.
|
# Don't show Python version next to the virtual environment name.
|
||||||
typeset -g POWERLEVEL9K_VIRTUALENV_SHOW_PYTHON_VERSION=true
|
typeset -g POWERLEVEL9K_VIRTUALENV_SHOW_PYTHON_VERSION=false
|
||||||
# Separate environment name from Python version only with a space.
|
# Separate environment name from Python version only with a space.
|
||||||
typeset -g POWERLEVEL9K_VIRTUALENV_{LEFT,RIGHT}_DELIMITER=
|
typeset -g POWERLEVEL9K_VIRTUALENV_{LEFT,RIGHT}_DELIMITER=
|
||||||
# Custom icon.
|
# Custom icon.
|
||||||
|
@ -428,8 +428,8 @@ fi
|
||||||
#####################[ anaconda: conda environment (https://conda.io/) ]######################
|
#####################[ anaconda: conda environment (https://conda.io/) ]######################
|
||||||
# Anaconda environment color.
|
# Anaconda environment color.
|
||||||
typeset -g POWERLEVEL9K_ANACONDA_FOREGROUND=37
|
typeset -g POWERLEVEL9K_ANACONDA_FOREGROUND=37
|
||||||
# Show Python version next to the anaconda environment name.
|
# Don't show Python version next to the anaconda environment name.
|
||||||
typeset -g POWERLEVEL9K_ANACONDA_SHOW_PYTHON_VERSION=true
|
typeset -g POWERLEVEL9K_ANACONDA_SHOW_PYTHON_VERSION=false
|
||||||
# Separate environment name from Python version only with a space.
|
# Separate environment name from Python version only with a space.
|
||||||
typeset -g POWERLEVEL9K_ANACONDA_{LEFT,RIGHT}_DELIMITER=
|
typeset -g POWERLEVEL9K_ANACONDA_{LEFT,RIGHT}_DELIMITER=
|
||||||
# Custom icon.
|
# Custom icon.
|
||||||
|
@ -460,6 +460,10 @@ fi
|
||||||
############[ nodeenv: node.js environment (https://github.com/ekalinin/nodeenv) ]############
|
############[ nodeenv: node.js environment (https://github.com/ekalinin/nodeenv) ]############
|
||||||
# Nodeenv color.
|
# Nodeenv color.
|
||||||
typeset -g POWERLEVEL9K_NODEENV_FOREGROUND=70
|
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.
|
# Custom icon.
|
||||||
# typeset -g POWERLEVEL9K_NODEENV_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
# typeset -g POWERLEVEL9K_NODEENV_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue