Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Why doesn't compconfig[correct] apply to command names?
- X-seq: zsh-workers 5820
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: Why doesn't compconfig[correct] apply to command names?
- Date: Mon, 15 Mar 1999 08:18:03 -0800 (PST)
- Cc: zsh-workers@xxxxxxxxxxxxxx
- In-reply-to: <199903151024.LAA22969@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <199903151024.LAA22969@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Reply-to: Bart Schaefer <schaefer@xxxxxxxxxxx>
Sven Wischnowsky writes:
>
> Bart Schaefer wrote:
> > The correction logic is all in the branch of _main_complete that is used
> > only when the context is not command. But I'd like to have it fix up the
> > command names, too
> > correct command.
>
> Err... you haven't tried, have you? (At least it works for me.)
I had tried, in fact. The test I did (by accident) was
zsh% maiql<TAB>
expecting it to complete to "mailq", which it did not -- it feeped. After
peering at _main_complete for a bit, I tried
zsh% echo =maiql<TAB>
and got a list of about a dozen possible corrections, which is why I
brought it up. However, now that I've rebuilt with all the latest
patches, it is working the same in both places.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author