Skip to content

Commit

Permalink
update conda search completion
Browse files Browse the repository at this point in the history
Add completion of `-i|--info` flags for conda search.

Enable `conda search` to complete packages and versions.

Following discussion at: #60
  • Loading branch information
esc committed Jun 3, 2024
1 parent a6e88f5 commit bf0a90f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _conda
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit bf0a90f

Please sign in to comment.