Disable zsh autocorrect entirely

Posted by Collin Peters on Super User See other posts from Super User or by Collin Peters
Published on 2012-11-30T17:05:10Z Indexed on 2012/11/30 17:07 UTC
Read the original article Hit count: 298

Filed under:

How do you disable zsh autocorrect entirely?

I am aware of the 'nocorrect' option which only applies to certain commands. But I want it off entirely so that when I type 'lear' instead of 'clear', it won't prompt for a correction.

I should note that 'unsetopt correctall' doesn't seem to do anything for me

collin@mandalay ~
  % unsetopt correctall

collin@mandalay ~
  % lear
zsh: correct 'lear' to 'clear' [nyae]? n
zsh: command not found: lear

© Super User or respective owner

Related posts about zsh