Last Updated: February 25, 2016
·
946
· linjunpop

Disable Zsh autocorrect

# ~/.zshrc
unsetopt correct_all

3 Responses
Add your response

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

over 1 year ago ·

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

over 1 year ago ·

Ok, but sometimes correction is useful.

over 1 year ago ·