mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2026-09-12 16:26:16 -04:00
Mtime-based caching: stat the directory tree once per prompt (~2ms) and skip full activation when nothing has changed. - Compare PYENV_VERSION, VIRTUAL_ENV, PWD; shortcut when PYENV_VERSION matches - Walk PWD to / for .python-version (stop at first; include broken symlinks) - Path list built once on miss, stored as array (spaces in paths) - Global version file skipped when local version active - version-name hooks checked at init; if present, caching disabled - Covers bash, zsh, and fish |
||
|---|---|---|
| .. | ||
| pyenv-activate | ||
| pyenv-deactivate | ||
| pyenv-sh-activate | ||
| pyenv-sh-deactivate | ||
| pyenv-virtualenv | ||
| pyenv-virtualenv-delete | ||
| pyenv-virtualenv-init | ||
| pyenv-virtualenv-prefix | ||
| pyenv-virtualenvs | ||