70e51186ec3f67b1126339c7570bd9f6549f0408
Author Daniel Hahler <git@thequod.de> Committer Daniel Hahler <git@thequod.de> Date 2011-12-16 13:01 UTC
Message Only `setopt correct`, not "correct_all".
Using the correct_all option is too distracting, and needs a lot of
`nocorrect` aliases to work around this.
Using only "correct" to correct the command itself is more friendly.
Diff 1 diff --git a/lib/correction.zsh b/lib/correction.zsh
2 index fc60dcdbdbead80c8336e4aaeaeb53dc657fce57..176ec16d510ebe7da2fa077f144b434e3a42e2cf 100644
3 --- a/lib/correction.zsh
4 +++ b/lib/correction.zsh
5 @@ -1,10 +1,2 @@
6 -setopt correct_all
7 -
8 -alias man='nocorrect man'
9 -alias mv='nocorrect mv'
10 -alias mysql='nocorrect mysql'
11 -alias mkdir='nocorrect mkdir'
12 -alias gist='nocorrect gist'
13 -alias heroku='nocorrect heroku'
14 -alias ebuild='nocorrect ebuild'
15 -alias hpodder='nocorrect hpodder'
16 +# correct commands, but not any arguments (correct_all would do that)
17 +setopt correct