anhtvw
Last Updated: February 25, 2016
·
791
· linjunpop

Disable Zsh autocorrect

zsh
# ~/.zshrc
unsetopt correct_all

3 Responses
Add your response

4471

You can exclude only selected commands by using nocorrect function.
For instance: alias mv='nocorrect mv'

over 1 year ago ·
4472

Thanks @bartlomiejdanek, my purpose is to disable autocorrect for all commands. :D

over 1 year ago ·
4473

Ok, but sometimes correction is useful.

over 1 year ago ·