mirror of
https://github.com/conda-incubator/conda-zsh-completion.git
synced 2026-10-20 04:25:20 +08:00
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:
@@ -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 \
|
||||||
|
|||||||
Reference in New Issue
Block a user