ohmyzsh/lib/correction.zsh

16 lines
405 B
Bash
Raw Normal View History

if [[ "$ENABLE_CORRECTION" == "true" ]]; then
2018-07-02 04:43:45 +08:00
alias cp='nocorrect cp'
alias ebuild='nocorrect ebuild'
alias gist='nocorrect gist'
alias heroku='nocorrect heroku'
alias hpodder='nocorrect hpodder'
alias man='nocorrect man'
alias mkdir='nocorrect mkdir'
alias mv='nocorrect mv'
alias mysql='nocorrect mysql'
alias sudo='nocorrect sudo'
alias su='nocorrect su'
setopt correct_all
fi