pyenv/libexec
Alex Hedges 02e1d4a293
Handle case where pyenv-commands --sh returns nothing (#2908)
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.
2024-02-26 00:07:52 +03:00
..
pyenv Try locate readlink first in pyenv-hooks, fix #2654 (#2655) 2023-03-28 11:25:27 +03:00
pyenv---version v2.3.36 2024-02-14 00:58:44 +03:00
pyenv-commands
pyenv-completions
pyenv-exec
pyenv-global
pyenv-help
pyenv-hooks Try locate readlink first in pyenv-hooks, fix #2654 (#2655) 2023-03-28 11:25:27 +03:00
pyenv-init Handle case where pyenv-commands --sh returns nothing (#2908) 2024-02-26 00:07:52 +03:00
pyenv-latest Fix occasional 'libexec/pyenv-latest: line 39: printf: write error: Broken pipe' (#2729) 2023-06-20 03:04:06 +03:00
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 Fix not showing symlink contents for unselected versions in pyenv versions (#2675) 2023-04-08 01:12:09 +03:00
pyenv-whence
pyenv-which