From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16096 invoked from network); 22 Jan 2008 01:34:20 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) 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.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 22 Jan 2008 01:34:20 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 17954 invoked from network); 22 Jan 2008 01:34:15 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 22 Jan 2008 01:34:15 -0000 Received: (qmail 13464 invoked by alias); 22 Jan 2008 01:34:13 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24428 Received: (qmail 13449 invoked from network); 22 Jan 2008 01:34:12 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 22 Jan 2008 01:34:12 -0000 Received: from virusfilter.dotsrc.org (bifrost [127.0.0.1]) by spamfilter.dotsrc.org (Postfix) with ESMTP id 3D7E08059009 for ; Tue, 22 Jan 2008 02:33:55 +0100 (CET) Received: from acolyte.scowler.net (acolyte.scowler.net [216.254.112.45]) by bifrost.dotsrc.org (Postfix) with ESMTP for ; Tue, 22 Jan 2008 02:33:47 +0100 (CET) Received: by acolyte.scowler.net (Postfix, from userid 1000) id E6E705C06B; Mon, 21 Jan 2008 20:33:51 -0500 (EST) Date: Mon, 21 Jan 2008 20:33:51 -0500 From: Clint Adams To: zsh workers Subject: Re: [PATCH] _git: enable completion for arguments to git aliases Message-ID: <20080122013351.GC16813@scowler.net> Mail-Followup-To: zsh workers References: <20080120211743.GD10084@fsst.voodoo.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080120211743.GD10084@fsst.voodoo.lan> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV using ClamSMTP On Sun, Jan 20, 2008 at 10:17:43PM +0100, Frank Terbeck wrote: > The following implements what the subject suggests. I'm not convinced, > that the way I did is the best there is. So comments are welcome. > > So, considering, you got an alias for checkout named 'co', you get the > completions you would expect for checkout when trying: git co . > > > Also, I "fixed" up some places, where single single quotes where used > in double quotes, which confused vim's syntax highlighting quite a > bit. > > Last but not least, this fixes a bug in '--date=' completions (for eg. > git log --date=). Committed, thanks.