my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
717 B

3 years ago
  1. # pyenv
  2. This plugin looks for [pyenv](https://github.com/pyenv/pyenv), a Simple Python version
  3. management system, and loads it if it's found. It also loads pyenv-virtualenv, a pyenv
  4. plugin to manage virtualenv, if it's found.
  5. To use it, add `pyenv` to the plugins array in your zshrc file:
  6. ```zsh
  7. plugins=(... pyenv)
  8. ```
  9. ## Settings
  10. - `ZSH_PYENV_QUIET`: if set to `true`, the plugin will not print any messages if it
  11. finds that `pyenv` is not properly configured.
  12. - `ZSH_PYENV_VIRTUALENV`: if set to `false`, the plugin will not load pyenv-virtualenv
  13. when it finds it.
  14. ## Functions
  15. - `pyenv_prompt_info`: displays the Python version in use by pyenv; or the global Python
  16. version, if pyenv wasn't found.