setopt correct # try to correct spelling... setopt no_correctall # ...only for commands, not filenames
[...]
alias cp='nocorrect cp' # don't correct spelling for 'cp' alias mkdir='nocorrect mkdir' # don't correct spelling for 'mkdir' alias mv='nocorrect mv' # don't correct spelling for 'mv'
[...]
https://github.com/samsonjs/config/blob/master/zsh/zshrc#L20...