anhtvw
Last Updated: February 25, 2016
·
779
· linjunpop
Img 1222

Disable Zsh autocorrect

zsh
# ~/.zshrc
unsetopt correct_all
Say Thanks
Respond

3 Responses
Add your response

4471
Bard2

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

over 1 year ago ·
4472
Img 1222

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

over 1 year ago ·
4473
Bard2

Ok, but sometimes correction is useful.

over 1 year ago ·
Filed Under