From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21641 invoked from network); 23 Jun 2007 22:00:03 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.1 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 23 Jun 2007 22:00:03 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 32061 invoked from network); 23 Jun 2007 21:59:57 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 23 Jun 2007 21:59:57 -0000 Received: (qmail 13973 invoked by alias); 23 Jun 2007 21:59:54 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23590 Received: (qmail 13960 invoked from network); 23 Jun 2007 21:59:54 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 23 Jun 2007 21:59:54 -0000 Received: (qmail 31721 invoked from network); 23 Jun 2007 21:59:53 -0000 Received: from mta-2.ms.rz.rwth-aachen.de (134.130.7.73) by a.mx.sunsite.dk with SMTP; 23 Jun 2007 21:59:50 -0000 Received: from ironport-out-2.rz.rwth-aachen.de ([134.130.3.59]) by mta-2.ms.rz.RWTH-Aachen.de (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0JK3005HWZEZRD00@mta-2.ms.rz.RWTH-Aachen.de> for zsh-workers@sunsite.dk; Sat, 23 Jun 2007 23:52:11 +0200 (CEST) Received: from relay.rwth-aachen.de ([134.130.3.1]) by ironport-in-2.rz.rwth-aachen.de with ESMTP; Sat, 23 Jun 2007 23:52:11 +0200 Received: from fsst.voodoo.lan ([212.117.84.88]) by relay.rwth-aachen.de (8.13.7/8.13.3/1) with ESMTP id l5NLqA77017919 for ; Sat, 23 Jun 2007 23:52:10 +0200 (MEST) Received: from hawk by fsst.voodoo.lan with local (Exim 4.67) (envelope-from ) id 1I2DWR-0002Bl-Dq for zsh-workers@sunsite.dk; Sat, 23 Jun 2007 23:51:59 +0200 Date: Sat, 23 Jun 2007 23:51:59 +0200 From: Frank Terbeck Subject: Re: PATCH: yet another _git update In-reply-to: <20070623214130.GA16281@scowler.net> To: zsh workers Mail-followup-to: zsh workers Message-id: <20070623215159.GA2764@fsst.voodoo.lan> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Content-disposition: inline X-IronPort-AV: E=Sophos;i="4.16,455,1175464800"; d="scan'208";a="2598931" References: <20070623100226.GB6305@fsst.voodoo.lan> <20070623214130.GA16281@scowler.net> User-Agent: Mutt/1.5.16 (2007-06-11) Clint Adams : > On Sat, Jun 23, 2007 at 12:02:26PM +0200, Frank Terbeck wrote: > > a) To provide a nice looking list, we currently use a hardcoded list > > of 'command:description' pairs. However this does not guarantee, > > that all possible subcommands available on a system will be taken > > into account. > > > To activate a), do: > > zstyle ':completion::*:git:*' list_allcmds true > > What about putting the descriptions into an assoc array, and matching > those up with the output of git help -a instead? Then you could have > the best of both potential style options by default. I would be all for it. Regards, Frank -- In protocol design, perfection has been reached not when there is nothing left to add, but when there is nothing left to take away. -- RFC 1925