Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: How to disable wrong suggestion then the command does not exist



Hi;

On Sun, May 1, 2011 at 7:12 PM, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>wrote:

> On Sun, May 1, 2011 at 9:22 AM, İsmail Dönmez <ismail@xxxxxxxxxxx> wrote:
> >
> > [~]> wget <enter>
> > zsh: correct 'wget' to '_wget' [nyae]? <n>
> > zsh: command not found: wget
> >
> > So its possibly confusing the command with the completion. Is there a way
> to
> > "fix" this behaviour?
>
> Available as of 4.3.10:
>
>     The shell variable CORRECT_IGNORE may be set to a pattern to match
>     words that will never be offered as corrections.
>
> For earlier versions, no, all you can do is "unsetopt CORRECT".
>

Thanks!

ismail


Messages sorted by: Reverse Date, Date, Thread, Author