fix(p10k): show python venv
This commit is contained in:
@@ -60,7 +60,7 @@
|
|||||||
# Right prompt segments.
|
# Right prompt segments.
|
||||||
typeset -g POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(
|
typeset -g POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(
|
||||||
# command_execution_time # previous command duration
|
# command_execution_time # previous command duration
|
||||||
# virtualenv # python virtual environment
|
virtualenv # python virtual environment
|
||||||
# context # user@host
|
# context # user@host
|
||||||
time # current time
|
time # current time
|
||||||
)
|
)
|
||||||
@@ -90,9 +90,9 @@
|
|||||||
typeset -g POWERLEVEL9K_PROMPT_CHAR_OVERWRITE_STATE=false
|
typeset -g POWERLEVEL9K_PROMPT_CHAR_OVERWRITE_STATE=false
|
||||||
|
|
||||||
# Grey Python Virtual Environment.
|
# Grey Python Virtual Environment.
|
||||||
typeset -g POWERLEVEL9K_VIRTUALENV_FOREGROUND=$grey
|
typeset -g POWERLEVEL9K_VIRTUALENV_FOREGROUND=$blue
|
||||||
# Don't show Python version.
|
typeset -g POWERLEVEL9K_VIRTUALENV_SHOW_PYTHON_VERSION=true
|
||||||
typeset -g POWERLEVEL9K_VIRTUALENV_SHOW_PYTHON_VERSION=false
|
typeset -g POWERLEVEL9K_VIRTUALENV_SHOW_WITH_PYENV=true
|
||||||
typeset -g POWERLEVEL9K_VIRTUALENV_{LEFT,RIGHT}_DELIMITER=
|
typeset -g POWERLEVEL9K_VIRTUALENV_{LEFT,RIGHT}_DELIMITER=
|
||||||
|
|
||||||
# Blue current directory.
|
# Blue current directory.
|
||||||
|
|||||||
Reference in New Issue
Block a user