From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11246 invoked from network); 31 Dec 2007 16:12:05 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) 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.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 31 Dec 2007 16:12:05 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 79693 invoked from network); 31 Dec 2007 16:12:01 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 31 Dec 2007 16:12:01 -0000 Received: (qmail 11925 invoked by alias); 31 Dec 2007 16:11:57 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24331 Received: (qmail 11907 invoked from network); 31 Dec 2007 16:11:56 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 31 Dec 2007 16:11:56 -0000 Received: from virusfilter.dotsrc.org (bifrost [127.0.0.1]) by spamfilter.dotsrc.org (Postfix) with ESMTP id AFA918058FA9 for ; Mon, 31 Dec 2007 17:11:54 +0100 (CET) Received: from acolyte.scowler.net (acolyte.scowler.net [216.254.112.45]) by bifrost.dotsrc.org (Postfix) with ESMTP for ; Mon, 31 Dec 2007 17:11:54 +0100 (CET) Received: by acolyte.scowler.net (Postfix, from userid 1000) id 8C0BA5D037; Mon, 31 Dec 2007 11:11:51 -0500 (EST) Date: Mon, 31 Dec 2007 11:11:51 -0500 From: Clint Adams To: Adeodato =?iso-8859-1?Q?Sim=F3?= , 458397@bugs.debian.org Cc: zsh-workers@sunsite.dk Subject: Re: Bug#458397: zsh: completion does not succeed with a function named the same as a command Message-ID: <20071231161151.GA1193@scowler.net> Mail-Followup-To: Adeodato =?iso-8859-1?Q?Sim=F3?= , 458397@bugs.debian.org, zsh-workers@sunsite.dk References: <20071230224845.GA19875@chistera.yi.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20071230224845.GA19875@chistera.yi.org> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV using ClamSMTP On Sun, Dec 30, 2007 at 11:48:45PM +0100, Adeodato Simó wrote: > Clint: if I have a zsh function with the same name as a binary in > PATH, completion does not work correctly: I can type up to the whole > name and press , and a space won't be added, it'll still offer the > two identical names for completion. > > I can reproduce with no zsh configuration files whatsoever. I could just be sleep-deprived, but this seems to be fine under 4.3.4 and spaceless under 4.3.4-dev-6. % ls -l =grotty -rwxr-xr-x 1 root root 77248 2007-12-07 04:51 /usr/bin/grotty % grotty() { print hi; command grotty "$@" } % grot