Include aliases in completetions

While it looks a bit funny, it is valid to use an existing virtual
environment as the [version] when creating a new one.
This commit is contained in:
Sam Doran 2026-04-20 12:51:59 -04:00
parent 44c4090095
commit 5fd4975150
No known key found for this signature in database
GPG key ID: 01602635F94328AA

View file

@ -24,7 +24,7 @@ fi
# Provide pyenv completions
if [ "$1" = "--complete" ]; then
exec pyenv-versions --bare --skip-envs --skip-aliases
exec pyenv-versions --bare --skip-envs
fi
unset PIP_REQUIRE_VENV