From bf0a90fa2043c47db6f2555329db399fe9a19fb6 Mon Sep 17 00:00:00 2001 From: esc Date: Mon, 3 Jun 2024 12:03:16 +0200 Subject: [PATCH] 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 --- _conda | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_conda b/_conda index ecb1e73..5ccb054 100644 --- a/_conda +++ b/_conda @@ -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 \