mirror of
https://github.com/pyenv/pyenv.git
synced 2026-09-15 01:56:16 -04:00
Fix completions
* bin/pyenv-link
This commit is contained in:
parent
d428be59ec
commit
ba9099392a
|
|
@ -15,9 +15,12 @@ set -e
|
|||
# Provide pyenv completions
|
||||
case "$1" in
|
||||
--complete)
|
||||
echo --version
|
||||
pyenv-link-version --complete
|
||||
exit
|
||||
if [ -z "$2" ]; then
|
||||
echo version
|
||||
else
|
||||
shift 2
|
||||
pyenv-link-version --complete "$@"
|
||||
fi
|
||||
;;
|
||||
version)
|
||||
shift
|
||||
|
|
|
|||
Loading…
Reference in a new issue