1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-18 15:21:16 +02:00

22425: update for new surfraw debsec elvi from Micah Anderson.

This commit is contained in:
Clint Adams 2006-04-23 04:47:14 +00:00
parent 5d9563ab12
commit eee9cb1680
2 changed files with 43 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2006-04-23 Clint Adams <clint@zsh.org>
* 22425: Completion/Unix/Command/_surfraw: update for
new surfraw debsec elvi from Micah Anderson.
2006-04-19 Peter Stephenson <p.w.stephenson@ntlworld.com> 2006-04-19 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Doc/Zsh/contrib.yo: documentation for 22417. * unposted: Doc/Zsh/contrib.yo: documentation for 22417.

View file

@ -63,6 +63,12 @@ case $state in
'-results=-:[number of results to return]' \ '-results=-:[number of results to return]' \
'*:search string' && ret=0 '*:search string' && ret=0
;; ;;
ctan)
_arguments $args \
'-name[Search by filename]' \
'-desc[Search descriptions (default)]'\
'-doc[Search documentation]'
;;
currency) currency)
_arguments \ _arguments \
'-l[List all known currency symbols]' \ '-l[List all known currency symbols]' \
@ -75,7 +81,7 @@ case $state in
;; ;;
debbugs) debbugs)
_arguments \ _arguments \
'-search=:search type:(pkg src bug maint tag submitter)' \ '-search=:search type:(pkg src bug maint tag submitter severity tag)' \
'-arc[show archived bugs]' \ '-arc[show archived bugs]' \
'-raw[do not sort by status or severity]' \ '-raw[do not sort by status or severity]' \
'-rb[reverse order of bugs shown]' \ '-rb[reverse order of bugs shown]' \
@ -213,16 +219,30 @@ case $state in
freshmeat) freshmeat)
_deb_packages avail && ret=0 _deb_packages avail && ret=0
;; ;;
fsfdir)
_arguments $args
;;
google) google)
_arguments $args \ _arguments $args \
'(-l --lucky)'{-l,--lucky}'[feeling lucky?]' \ '(-l --lucky)'{-l,--lucky}'[feeling lucky?]' \
'-results=-:[number of results to return]:' \ '-results=-:[number of results to return]:' \
'-search=-:topic:(bsd linux mac unclesam)' && ret=0 '-search=-:topic:(bsd linux mac unclesam)' && ret=0
;;
gutenberg)
_arguments $args \
'-title[Search titles (default)]'
'-author[Search authors]'
'-num[Search etext numbers]'
;; ;;
imdb) imdb)
_arguments $args \ _arguments $args \
'-category=-:category:(All Titles MyMovies People Characters Quotes Bios Plots)' && ret=0 '-category=-:category:(All Titles MyMovies People Characters Quotes Bios Plots)' && ret=0
;; ;;
ixquick)
_arguments $args \
'-search=-:search type:(web pics)' \
'-lang=-:language:(english dansk deutsch espanol francais italiano nederlands norsk polski portugues suomi svenska turkce jiantizhongwen nihongo fantizhengwen hangul)'
;;
jake) jake)
_arguments $args \ _arguments $args \
'-method=-:search type:(title issn)' \ '-method=-:search type:(title issn)' \
@ -365,6 +385,22 @@ case $state in
'-arctext=-:[arc text color]:color:(Black Blue Darkgreen Red)' \ '-arctext=-:[arc text color]:color:(Black Blue Darkgreen Red)' \
:URL:_urls && ret=0 :URL:_urls && ret=0
;; ;;
wayback)
_arguments $args \
'-syear=-[Start search from this year]:year' \
'-smonth=-:[Start search from this month]:month:(jan feb mar apr may jun jul aug sep oct nov dec)' \
'-sday=-[Start search from this day]:number' \
'-eyear=-[End search in this year]:year' \
'-emonth=-[End search in this month]:month:(jan feb mar apr may jun jul aug sep oct nov dec)' \
'-eday=-[End search in this day]:number' \
'-list[List all pages that match search criteria]' \
'-dups[Show dups]' \
'-compare[Compare pages]' \
'-pdf[Show as PDF]' \
'-alias=-[How to handle site aliases]:alias:(merge show hide)' \
'-redir=-[How to handle redirections]:redir:(hide flag show)' \
'-type=-[File type to search for]:type:(image audio video binary text pdf)'
;;
wetandwild) wetandwild)
_arguments \ _arguments \
'-city=-[town or City or (US only) zipcode]:' \ '-city=-[town or City or (US only) zipcode]:' \