4 ms·
setopt correct # try to correct spelling... setopt no_correctall # ...only for commands, not filenames https://github.com/samsonjs/conf
by sjs 15y ago
setopt correct # try to correct spelling...
setopt no_correctall # ...only for commands, not filenames
https://github.com/samsonjs/config/blob/master/zsh/zshrc#L111-112 https://github.com/samsonjs/config/blob/master/zsh/zshrc#L11...
[...]
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#L202-213 https://github.com/samsonjs/config/blob/master/zsh/zshrc#L20...