mirror of
https://github.com/pyenv/pyenv.git
synced 2025-12-07 18:38:40 +00:00
* perf: replace a series of if statements with a case block. Add error handling for case where unknown option is provided. Same setup as rbenv-init for reading arguments. * perf, docs: Recommend users to specify the shell for `pyenv init -` Speeds up the startup by about 40% (in local testing, from ~50ms to ~30ms). Reflect this in `pyenv init` hint text. * style: remove unnecessary `root` variable in pyenv-init * style: remove unnecessary variable declarations at the top of file in pyenv-init. * perf: replace `cat <<` calls with `echo` The builtin `echo` is about 100x faster. In tests, saves about 2-3ms. * docs: document the `pyenv init - <shell>` performance boost in the Advanced Configuration section. * style: test_helper.bash: avoid unnecessary ".." in produced PATH * docs: fix a false statement about completions location in the Advanced Configuration section. |
||
|---|---|---|
| .. | ||
| pyenv | ||
| pyenv---version | ||
| pyenv-commands | ||
| pyenv-completions | ||
| pyenv-exec | ||
| pyenv-global | ||
| pyenv-help | ||
| pyenv-hooks | ||
| pyenv-init | ||
| pyenv-latest | ||
| pyenv-local | ||
| pyenv-prefix | ||
| pyenv-rehash | ||
| pyenv-root | ||
| pyenv-sh-rehash | ||
| pyenv-sh-shell | ||
| pyenv-shims | ||
| pyenv-version | ||
| pyenv-version-file | ||
| pyenv-version-file-read | ||
| pyenv-version-file-write | ||
| pyenv-version-name | ||
| pyenv-version-origin | ||
| pyenv-versions | ||
| pyenv-whence | ||
| pyenv-which | ||