From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3803 invoked from network); 30 Aug 2008 11:39:53 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 30 Aug 2008 11:39:53 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 2651 invoked from network); 30 Aug 2008 11:39:42 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 30 Aug 2008 11:39:42 -0000 Received: (qmail 24837 invoked by alias); 30 Aug 2008 11:39:36 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25553 Received: (qmail 24820 invoked from network); 30 Aug 2008 11:39:34 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 30 Aug 2008 11:39:34 -0000 Received: from cork.scru.org (cork.scru.org [209.20.67.2]) by bifrost.dotsrc.org (Postfix) with ESMTPS id 492A5801E2B4 for ; Sat, 30 Aug 2008 13:39:28 +0200 (CEST) Received: by cork.scru.org (Postfix, from userid 1000) id 1CED710408B; Sat, 30 Aug 2008 11:39:26 +0000 (UTC) Date: Sat, 30 Aug 2008 11:39:26 +0000 From: Clint Adams To: zsh workers Subject: Re: New completion function Message-ID: <20080830113926.GA4557@scru.org> Mail-Followup-To: zsh workers References: <2d460de70808291623l615fe16euf0189c781828f288@mail.gmail.com> <20080829233334.GN6330@fsst.voodoo.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080829233334.GN6330@fsst.voodoo.lan> User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: ClamAV 0.92.1/8120/Sat Aug 30 05:43:49 2008 on bifrost X-Virus-Status: Clean On Sat, Aug 30, 2008 at 01:33:34AM +0200, Frank Terbeck wrote: > Shouldn't it be enough to add aoss to the #compdef line _precommand? Index: Completion/Zsh/Command/_precommand =================================================================== RCS file: /cvsroot/zsh/zsh/Completion/Zsh/Command/_precommand,v retrieving revision 1.5 diff -u -r1.5 _precommand --- Completion/Zsh/Command/_precommand 13 Apr 2006 02:46:50 -0000 1.5 +++ Completion/Zsh/Command/_precommand 30 Aug 2008 11:38:09 -0000 @@ -1,4 +1,4 @@ -#compdef - nohup eval time rusage noglob nocorrect exec catchsegv +#compdef - nohup eval time rusage noglob nocorrect exec catchsegv aoss shift words (( CURRENT-- ))