From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6862 invoked from network); 14 Dec 2001 17:42:08 -0000 Received: from ns2.primenet.com.au (HELO primenet.com.au) (?L7LpE23ngub/3E0PcL/FhtniZabiCyzK?@203.24.36.3) by ns1.primenet.com.au with SMTP; 14 Dec 2001 17:42:08 -0000 Received: (qmail 1771 invoked from network); 14 Dec 2001 17:42:05 -0000 Received: from sunsite.dk (130.225.247.90) by proxy.melb.primenet.com.au with SMTP; 14 Dec 2001 17:42:05 -0000 Received: (qmail 2277 invoked by alias); 14 Dec 2001 17:41:58 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16335 Received: (qmail 2265 invoked from network); 14 Dec 2001 17:41:57 -0000 Date: Fri, 14 Dec 2001 12:41:54 -0500 From: Clint Adams To: zsh-workers@sunsite.dk Subject: PATCH: _apt Message-ID: <20011214174154.GA18930@dman.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.24i Modernization of apt-cache completion. Index: Completion/Debian/Command/_apt =================================================================== RCS file: /cvsroot/zsh/zsh/Completion/Debian/Command/_apt,v retrieving revision 1.2 diff -u -r1.2 _apt --- Completion/Debian/Command/_apt 2001/05/25 14:34:51 1.2 +++ Completion/Debian/Command/_apt 2001/12/14 17:40:14 @@ -449,7 +449,10 @@ -q,--quiet:intlevel \ -i,--important:bool \ -f,--full:bool \ + -g,--generate:bool \ --names-only:bool \ + --all-names:bool \ + --recurse:bool \ -c,--config-file:configfile \ -o,--option:arbitem \ -- \ @@ -465,7 +468,10 @@ /$'search\0'/ /$'[^\0]#\0'/ ':strings:pattern:' \| \ /$'show\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \| \ /$'depends\0'/ \| \ - /"[]"/ ':argument-1::compadd "$expl_action[@]" help add gencaches showpkg stats dump dumpavail unmet check search show depends' + /$'pkgnames\0'/ \| \ + /$'dotty\0'/ \| \ + /$'policy\0'/ \| \ + /"[]"/ ':argument-1::compadd "$expl_action[@]" help add gencaches showpkg stats dump dumpavail unmet check search show depends pkgnames dotty policy' _apt-cache () { local expl_action expl_packages expl_pkg_cache expl_src_cache