summaryrefslogtreecommitdiff
path: root/plugins/pyenv/README.md
diff options
context:
space:
mode:
authorOlivier Mehani <shtrom-github@ssji.net>2024-11-20 06:32:01 +1100
committerGitHub <noreply@github.com>2024-11-19 20:32:01 +0100
commit081d704f3273df6095b712096e3f334b04f52782 (patch)
treeede4f5ef7a23df4203e15a58752ad76dca39fe85 /plugins/pyenv/README.md
parentb5d52682cab844a5ffdc1b1f2ee80de561e0e6aa (diff)
downloadzsh-081d704f3273df6095b712096e3f334b04f52782.tar.gz
zsh-081d704f3273df6095b712096e3f334b04f52782.tar.bz2
zsh-081d704f3273df6095b712096e3f334b04f52782.zip
feat(pyenv): add prompt customization (#12738)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
Diffstat (limited to 'plugins/pyenv/README.md')
-rw-r--r--plugins/pyenv/README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/pyenv/README.md b/plugins/pyenv/README.md
index 95d79cb52..2476bbd95 100644
--- a/plugins/pyenv/README.md
+++ b/plugins/pyenv/README.md
@@ -26,6 +26,14 @@ eval "$(pyenv init --path)"
- `ZSH_PYENV_VIRTUALENV`: if set to `false`, the plugin will not load pyenv-virtualenv
when it finds it.
+- `ZSH_THEME_PYENV_NO_SYSTEM`: if set to `true`, the plugin will not show the system or
+ default Python version when it finds it.
+- `ZSH_THEME_PYENV_PREFIX`: the prefix to display before the Python version in
+ the prompt.
+
+- `ZSH_THEME_PYENV_SUFFIX`: the prefix to display after the Python version in
+ the prompt.
+
## Functions
- `pyenv_prompt_info`: displays the Python version in use by pyenv; or the global Python