mirror of
https://github.com/pyenv/pyenv.git
synced 2026-09-10 07:36:16 -04: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. |
||
|---|---|---|
| .. | ||
| libexec | ||
| --version.bats | ||
| commands.bats | ||
| completions.bats | ||
| exec.bats | ||
| global.bats | ||
| help.bats | ||
| hooks.bats | ||
| init.bats | ||
| latest.bats | ||
| local.bats | ||
| prefix.bats | ||
| pyenv.bats | ||
| pyenv_ext.bats | ||
| rehash.bats | ||
| run | ||
| shell.bats | ||
| shims.bats | ||
| test_helper.bash | ||
| version-file-read.bats | ||
| version-file-write.bats | ||
| version-file.bats | ||
| version-name.bats | ||
| version-origin.bats | ||
| version.bats | ||
| versions.bats | ||
| whence.bats | ||
| which.bats | ||