1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-24 13:49:28 +08:00
ohmyzsh/lib/correction.zsh
2021-09-29 18:07:25 +02:00

16 lines
405 B
Bash

if [[ "$ENABLE_CORRECTION" == "true" ]]; then
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