mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
02e1d4a293
In exceptional cases (custom installation, malfunctions elsewhere), `pyenv-commands --sh` may return nothing. In non-Fish, this would cause "syntax error near unexpected token `)'" in `pyenv()`. Bash does not allow to specify a `case` option that would never match. This works around it by defaulting to `/`. Commands, being filenames, can never match it. In Fish, nothing needs to be done: it apparently does interpret a `case` without argument as one that never matches. |
||
---|---|---|
.. | ||
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 |