From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29353 invoked from network); 18 Mar 2001 14:42:34 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 18 Mar 2001 14:42:34 -0000 Received: (qmail 17939 invoked by alias); 18 Mar 2001 14:42:28 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13662 Received: (qmail 17924 invoked from network); 18 Mar 2001 14:42:27 -0000 Date: Sun, 18 Mar 2001 09:42:25 -0500 From: Clint Adams To: zsh-workers@sunsite.dk Subject: PATCH: completion for new apt command Message-ID: <20010318094225.B6942@dman.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i As of 0.5.x, apt-get has a build-dep command. Index: Completion/Debian/_apt =================================================================== RCS file: /cvsroot/zsh/zsh/Completion/Debian/_apt,v retrieving revision 1.11 diff -u -r1.11 _apt --- Completion/Debian/_apt 2001/01/15 09:11:33 1.11 +++ Completion/Debian/_apt 2001/03/18 14:39:04 @@ -379,8 +379,9 @@ /$'autoclean\0'/ \| \ /$'check\0'/ \| \ /$'source\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \| \ + /$'build-dep\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \| \ /$'help\0/' \| \ - /"[]"/ ':argument-1::compadd "$expl_action[@]" update upgrade install remove dist-upgrade dselect-upgrade clean autoclean check source help' + /"[]"/ ':argument-1::compadd "$expl_action[@]" update upgrade install remove dist-upgrade dselect-upgrade clean autoclean check source build-dep help' _apt-get () { local expl_action expl_packages