mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-19 10:51:57 +00:00
Merge pull request #2316 from BBonifield/master
Making auto-correction off by default. Okay, I don't feel so strongly these days about this.
This commit is contained in:
commit
357ab4912b
1 changed files with 11 additions and 12 deletions
|
@ -1,14 +1,13 @@
|
||||||
if [[ "$DISABLE_CORRECTION" == "true" ]]; then
|
alias man='nocorrect man'
|
||||||
return
|
alias mv='nocorrect mv'
|
||||||
else
|
alias mysql='nocorrect mysql'
|
||||||
|
alias mkdir='nocorrect mkdir'
|
||||||
|
alias gist='nocorrect gist'
|
||||||
|
alias heroku='nocorrect heroku'
|
||||||
|
alias ebuild='nocorrect ebuild'
|
||||||
|
alias hpodder='nocorrect hpodder'
|
||||||
|
alias sudo='nocorrect sudo'
|
||||||
|
|
||||||
|
if [[ "$ENABLE_CORRECTION" == "true" ]]; then
|
||||||
setopt correct_all
|
setopt correct_all
|
||||||
alias man='nocorrect man'
|
|
||||||
alias mv='nocorrect mv'
|
|
||||||
alias mysql='nocorrect mysql'
|
|
||||||
alias mkdir='nocorrect mkdir'
|
|
||||||
alias gist='nocorrect gist'
|
|
||||||
alias heroku='nocorrect heroku'
|
|
||||||
alias ebuild='nocorrect ebuild'
|
|
||||||
alias hpodder='nocorrect hpodder'
|
|
||||||
alias sudo='nocorrect sudo'
|
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue