mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-21 20:00:07 +00:00
Adjust pyenv content
1. Remove a spurious space in several themes. 2. Add example for POWERLEVEL9K_PYENV_SHOW_ON_COMMAND
This commit is contained in:
parent
862440ae11
commit
b336fa098a
4 changed files with 16 additions and 4 deletions
|
@ -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.
|
||||||
#
|
#
|
||||||
|
|
|
@ -970,6 +970,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.
|
||||||
#
|
#
|
||||||
|
|
|
@ -966,6 +966,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.
|
||||||
#
|
#
|
||||||
|
|
|
@ -1038,6 +1038,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.
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue