summaryrefslogtreecommitdiff
path: root/lib/correction.zsh
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2011-12-16 14:01:59 +0100
committerDaniel Hahler <git@thequod.de>2011-12-16 14:01:59 +0100
commit70e51186ec3f67b1126339c7570bd9f6549f0408 (patch)
tree53a7f543673627a8b44287a15a5820b97b3d9b7c /lib/correction.zsh
parentc133f41833ba1ce6a3868a644ad29caa17bfa75a (diff)
downloadzsh-70e51186ec3f67b1126339c7570bd9f6549f0408.tar.gz
zsh-70e51186ec3f67b1126339c7570bd9f6549f0408.tar.bz2
zsh-70e51186ec3f67b1126339c7570bd9f6549f0408.zip
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.
Diffstat (limited to 'lib/correction.zsh')
-rw-r--r--lib/correction.zsh12
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/correction.zsh b/lib/correction.zsh
index fc60dcdbd..176ec16d5 100644
--- a/lib/correction.zsh
+++ b/lib/correction.zsh
@@ -1,10 +1,2 @@
-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'
+# correct commands, but not any arguments (correct_all would do that)
+setopt correct