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:18 +02:00
parent a6e88f53e6
commit bf0a90fa20
+2 -1
View File
@@ -561,7 +561,8 @@ case $state in
'(-v --verbose)'{-v,--verbose}'[Show available packages as blocks of data]' \ '(-v --verbose)'{-v,--verbose}'[Show available packages as blocks of data]' \
'--platform[Search the given platform.]' \ '--platform[Search the given platform.]' \
'--spec[Treat regex argument as a package specification]' \ '--spec[Treat regex argument as a package specification]' \
'*:regex:' \ '(-i --info)'{-v,--verbose}'[Provide detailed information about each package.]' \
'*:packages:__magic' \
;; ;;
(create) (create)
_arguments -C $help_opts \ _arguments -C $help_opts \