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 5801
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: Why doesn't compconfig[correct] apply to command names?
- Date: Mon, 15 Mar 1999 11:24:07 +0100 (MET)
- In-reply-to: "Bart Schaefer"'s message of Sat, 13 Mar 1999 22:38:03 -0800
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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, so that the rest of the line uses completions for the
> correct command.
Err... you haven't tried, have you? (At least it works for me.)
The auto-correction is done after the `fi' of the test for command-
completion. In fact, since `command' is now the context for
command-position and arguments, this would have made the auto-correction
be used only for special contexts.
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author