1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-19 19:01: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:
Robby Russell 2013-12-04 21:02:58 -08:00
commit 357ab4912b

View file

@ -1,7 +1,3 @@
if [[ "$DISABLE_CORRECTION" == "true" ]]; then
return
else
setopt correct_all
alias man='nocorrect man' alias man='nocorrect man'
alias mv='nocorrect mv' alias mv='nocorrect mv'
alias mysql='nocorrect mysql' alias mysql='nocorrect mysql'
@ -11,4 +7,7 @@ else
alias ebuild='nocorrect ebuild' alias ebuild='nocorrect ebuild'
alias hpodder='nocorrect hpodder' alias hpodder='nocorrect hpodder'
alias sudo='nocorrect sudo' alias sudo='nocorrect sudo'
if [[ "$ENABLE_CORRECTION" == "true" ]]; then
setopt correct_all
fi fi