Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#458397: zsh: completion does not succeed with a function named the same as a command
- X-seq: zsh-workers 24331
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: Adeodato Simó <dato@xxxxxxxxxxxxxx>, 458397@xxxxxxxxxxxxxxx
- Subject: Re: Bug#458397: zsh: completion does not succeed with a function named the same as a command
- Date: Mon, 31 Dec 2007 11:11:51 -0500
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <20071230224845.GA19875@xxxxxxxxxxxxxxx>
- Mail-followup-to: Adeodato Simó <dato@xxxxxxxxxxxxxx>, 458397@xxxxxxxxxxxxxxx, zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20071230224845.GA19875@xxxxxxxxxxxxxxx>
On Sun, Dec 30, 2007 at 11:48:45PM +0100, Adeodato Simó wrote:
> <dato> 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 <tab>, 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<TAB>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author