update conda search completion

Add completion of `-i|--info` flags for conda search.

Enable `conda search` to complete packages and versions.

Following discussion at: https://github.com/conda-incubator/conda-zsh-completion/issues/60
This commit is contained in:
esc
2024-06-03 12:03:16 +02:00
parent a6e88f53e6
commit bf0a90fa20

3
_conda
View File

@@ -561,7 +561,8 @@ case $state in
'(-v --verbose)'{-v,--verbose}'[Show available packages as blocks of data]' \
'--platform[Search the given platform.]' \
'--spec[Treat regex argument as a package specification]' \
'*:regex:' \
'(-i --info)'{-v,--verbose}'[Provide detailed information about each package.]' \
'*:packages:__magic' \
;;
(create)
_arguments -C $help_opts \