mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2026-09-12 08:16:22 -04:00
Only show Python versions for completion when creating new virtual environments
Having the current virtual environments listed as options in the competion is noisy since only bare Python versions, such as 3.11.1, make sense as suggested completions for `pyenv virtualenv [version]`.
This commit is contained in:
parent
6d2cb280f8
commit
ad14880ab2
|
|
@ -24,7 +24,7 @@ fi
|
|||
|
||||
# Provide pyenv completions
|
||||
if [ "$1" = "--complete" ]; then
|
||||
exec pyenv-versions --bare
|
||||
exec pyenv-versions --bare --skip-envs --skip-aliases
|
||||
fi
|
||||
|
||||
unset PIP_REQUIRE_VENV
|
||||
|
|
|
|||
Loading…
Reference in a new issue