mirror of
https://github.com/pyenv/pyenv.git
synced 2026-10-03 07:51:06 +09:00
Fix completions
* bin/pyenv-link
This commit is contained in:
parent
d428be59ec
commit
ba9099392a
@ -15,9 +15,12 @@ set -e
|
|||||||
# Provide pyenv completions
|
# Provide pyenv completions
|
||||||
case "$1" in
|
case "$1" in
|
||||||
--complete)
|
--complete)
|
||||||
echo --version
|
if [ -z "$2" ]; then
|
||||||
pyenv-link-version --complete
|
echo version
|
||||||
exit
|
else
|
||||||
|
shift 2
|
||||||
|
pyenv-link-version --complete "$@"
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
version)
|
version)
|
||||||
shift
|
shift
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user