|
|
@ -992,6 +992,9 @@
|
|
|
|
typeset -g POWERLEVEL9K_PYENV_PROMPT_ALWAYS_SHOW=false
|
|
|
|
typeset -g POWERLEVEL9K_PYENV_PROMPT_ALWAYS_SHOW=false
|
|
|
|
# If set to false, hide python version if it's equal to "system".
|
|
|
|
# If set to false, hide python version if it's equal to "system".
|
|
|
|
typeset -g POWERLEVEL9K_PYENV_SHOW_SYSTEM=true
|
|
|
|
typeset -g POWERLEVEL9K_PYENV_SHOW_SYSTEM=true
|
|
|
|
|
|
|
|
# Show pyenv only when the command you are typing matches one of these strings.
|
|
|
|
|
|
|
|
# Tip: You might want to enable POWERLEVEL9K_PYENV_PROMPT_ALWAYS_SHOW above.
|
|
|
|
|
|
|
|
# typeset -g POWERLEVEL9K_PYENV_SHOW_ON_COMMAND='py*|pip*|poetry|virtualenv'
|
|
|
|
|
|
|
|
|
|
|
|
# Pyenv segment format. The following parameters are available within the expansion.
|
|
|
|
# Pyenv segment format. The following parameters are available within the expansion.
|
|
|
|
#
|
|
|
|
#
|
|
|
@ -1003,7 +1006,7 @@
|
|
|
|
# 1. Display just "$P9K_CONTENT" if it's equal to "$P9K_PYENV_PYTHON_VERSION" or
|
|
|
|
# 1. Display just "$P9K_CONTENT" if it's equal to "$P9K_PYENV_PYTHON_VERSION" or
|
|
|
|
# starts with "$P9K_PYENV_PYTHON_VERSION/".
|
|
|
|
# starts with "$P9K_PYENV_PYTHON_VERSION/".
|
|
|
|
# 2. Otherwise display "$P9K_CONTENT $P9K_PYENV_PYTHON_VERSION".
|
|
|
|
# 2. Otherwise display "$P9K_CONTENT $P9K_PYENV_PYTHON_VERSION".
|
|
|
|
typeset -g POWERLEVEL9K_PYENV_CONTENT_EXPANSION='${P9K_CONTENT}${${P9K_CONTENT:#$P9K_PYENV_PYTHON_VERSION(|/*)}:+ $P9K_PYENV_PYTHON_VERSION}'
|
|
|
|
typeset -g POWERLEVEL9K_PYENV_CONTENT_EXPANSION='${P9K_CONTENT}${${P9K_CONTENT:#$P9K_PYENV_PYTHON_VERSION(|/*)}:+$P9K_PYENV_PYTHON_VERSION}'
|
|
|
|
|
|
|
|
|
|
|
|
# Custom icon.
|
|
|
|
# Custom icon.
|
|
|
|
# typeset -g POWERLEVEL9K_PYENV_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
|
|
|
# typeset -g POWERLEVEL9K_PYENV_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
|
|
|