Package: zsh Version: 4.3.2-6 Severity: wishlist Tags: patch Please find attached an update to the _surfraw completion function, it adds some new arguments and elvi. Surfs up.
micah -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16+vserver Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages zsh depends on: ii debconf [debconf-2.0] 1.4.72 Debian configuration management sy ii libc6 2.3.6-5 GNU C Library: Shared libraries an ii libncurses5 5.5-1 Shared libraries for terminal hand Versions of packages zsh recommends: ii libcap1 1:1.10-14 support for getting/setting POSIX. ii libpcre3 6.4-1.1 Perl 5 Compatible Regular Expressi -- no debconf information
--- /vservers/etch/usr/share/zsh/4.3.2/functions/Completion/Unix/_surfraw 2006-04-05 14:43:39.000000000 -0400 +++ /home/micah/debian/misc/_surfraw 2006-04-22 22:28:33.000000000 -0400 @@ -1,5 +1,10 @@ #compdef surfraw sr +# Zsh completion for Surfraw (Shell Users' Revolutionary Front Rage Against the World Wide Web) +# http://surfraw.sourceforge.net +# Written by Micah Anderson ([EMAIL PROTECTED]) +# Last update: April 22, 2006 + local curcontext="$curcontext" expl state line args ret=1 _arguments -C -A \ @@ -63,6 +68,12 @@ '-results=-:[number of results to return]' \ '*:search string' && ret=0 ;; + ctan) + _arguments $args \ + '-name[Search by filename]' \ + '-desc[Search descriptions (default)]'\ + '-doc[Search documentation]' + ;; currency) _arguments \ '-l[List all known currency symbols]' \ @@ -75,7 +86,7 @@ ;; debbugs) _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]' \ '-raw[do not sort by status or severity]' \ '-rb[reverse order of bugs shown]' \ @@ -213,16 +224,30 @@ freshmeat) _deb_packages avail && ret=0 ;; + fsfdir) + _arguments $args + ;; google) _arguments $args \ '(-l --lucky)'{-l,--lucky}'[feeling lucky?]' \ '-results=-:[number of results to return]:' \ '-search=-:topic:(bsd linux mac unclesam)' && ret=0 + ;; + gutenberg) + _arguments $args \ + '-title[Search titles (default)]' + '-author[Search authors]' + '-num[Search etext numbers]' ;; imdb) _arguments $args \ '-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) _arguments $args \ '-method=-:search type:(title issn)' \ @@ -365,6 +390,22 @@ '-arctext=-:[arc text color]:color:(Black Blue Darkgreen Red)' \ :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) _arguments \ '-city=-[town or City or (US only) zipcode]:' \