Disable Zsh autocorrect
# ~/.zshrc
unsetopt correct_all
Written by Jun Lin
Related protips
3 Responses

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
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Zsh
Authors
Related Tags
#zsh
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#