From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20843 invoked from network); 6 Sep 2005 16:06:48 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 6 Sep 2005 16:06:48 -0000 Received: (qmail 98670 invoked from network); 6 Sep 2005 16:06:42 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 6 Sep 2005 16:06:42 -0000 Received: (qmail 23587 invoked by alias); 6 Sep 2005 16:06:40 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21703 Received: (qmail 23578 invoked from network); 6 Sep 2005 16:06:39 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 6 Sep 2005 16:06:39 -0000 Received: (qmail 98387 invoked from network); 6 Sep 2005 16:06:39 -0000 Received: from acolyte.scowler.net (216.254.112.45) by a.mx.sunsite.dk with SMTP; 6 Sep 2005 16:06:34 -0000 Received: by acolyte.scowler.net (Postfix, from userid 1000) id D2E0E70054; Tue, 6 Sep 2005 12:06:30 -0400 (EDT) Date: Tue, 6 Sep 2005 12:06:30 -0400 From: Clint Adams To: zsh-workers@sunsite.dk Subject: PATCH: _bzr Message-ID: <20050906160630.GA10503@scowler.net> Mail-Followup-To: zsh-workers@sunsite.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.4 Completion for bzr 0.0.7. Index: Completion/Unix/Command/_bzr =================================================================== RCS file: Completion/Unix/Command/_bzr diff -N Completion/Unix/Command/_bzr --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ Completion/Unix/Command/_bzr 6 Sep 2005 16:05:45 -0000 @@ -0,0 +1,11 @@ +#compdef bzr + +local _bzr_subcommands expl curcontext="$curcontext" + +_bzr_subcommands=(${(f)"$(_call_program bzr bzr shell-complete)"}) + +if (( CURRENT == 2 )); then + _describe -t subcommand 'subcommand' _bzr_subcommands +else +# this part missing +fi