From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3762 invoked from network); 13 Feb 2008 02:30:45 -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; 13 Feb 2008 02:30:45 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 97107 invoked from network); 13 Feb 2008 02:30:42 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 13 Feb 2008 02:30:42 -0000 Received: (qmail 6877 invoked by alias); 13 Feb 2008 02:30:39 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24548 Received: (qmail 6862 invoked from network); 13 Feb 2008 02:30:39 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 13 Feb 2008 02:30:39 -0000 Received: from acolyte.scowler.net (acolyte.scowler.net [216.254.112.45]) by bifrost.dotsrc.org (Postfix) with ESMTP id 37D9E80482A1 for ; Wed, 13 Feb 2008 03:30:35 +0100 (CET) Received: by acolyte.scowler.net (Postfix, from userid 1000) id A79435C1A4; Tue, 12 Feb 2008 21:30:34 -0500 (EST) Date: Tue, 12 Feb 2008 21:30:34 -0500 From: Clint Adams To: zsh-workers@sunsite.dk Cc: =?iso-8859-1?Q?Lo=EFc?= Minier , 465284@bugs.debian.org Subject: Re: Bug#465284: Expansion of completion choices expanding to the same command don't complete Message-ID: <20080213023034.GA3545@scowler.net> Mail-Followup-To: zsh-workers@sunsite.dk, =?iso-8859-1?Q?Lo=EFc?= Minier , 465284@bugs.debian.org References: <20080211164936.GA7200@bee.dooz.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080211164936.GA7200@bee.dooz.org> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Virus-Scanned: ClamAV 0.91.2/5794/Tue Feb 12 21:49:27 2008 on bifrost X-Virus-Status: Clean On Mon, Feb 11, 2008 at 05:49:36PM +0100, Loïc Minier wrote: > When I used to type: > debcom > it would expand to the full command with a final space: > debcommit > and I could then append flags to this command; perfect. > > Now that I aliases debcommit with: > alias debcommit='debcommit -e -s' > I get the expanded command without a final space: > debcommit > hitting tab a second time reveals that zsh sees two choices: > % debcommit > external command > debcommit -- commit changes to a package > alias > debcommit > > I would like it if zsh would only consider the highest priority > completion choice for commands as obviously I can't invoke the > debcommit binary but only the debcommit alias here. Or it would be > enough if zsh would append a space if all choices expans to the same > thing. This sounds very familiar.