feat(pyenv): add option to hide system Python version

Added ZSH_PYENV_NO_SYSTEM option to hide the system or default Python
version in the prompt.
This commit is contained in:
Olivier Mehani 2024-10-10 12:07:05 +11:00
commit d9f9043f30
No known key found for this signature in database
GPG key ID: 432AAE851836562A
2 changed files with 9 additions and 0 deletions

View file

@ -23,6 +23,9 @@ eval "$(pyenv init --path)"
- `ZSH_PYENV_QUIET`: if set to `true`, the plugin will not print any messages if it
finds that `pyenv` is not properly configured.
- `ZSH_PYENV_NO_SYSTEM`: if set to `true`, the plugin will not show the system or
default Python version when it finds it.
- `ZSH_PYENV_VIRTUALENV`: if set to `false`, the plugin will not load pyenv-virtualenv
when it finds it.