summaryrefslogtreecommitdiff
path: root/correction.zsh
diff options
context:
space:
mode:
authorJames Cox <james@imaj.es>2009-09-22 16:41:22 +0100
committerJames Cox <james@imaj.es>2009-09-22 16:41:22 +0100
commit1b784bbf4d2ce470ade3d0c2963c349a5a7af9cf (patch)
tree423be378bfe408c183cc60017504d3db0beb5e0b /correction.zsh
parent8176645e8231955a7e1a385da9251efd2ddda5c7 (diff)
downloadzsh-1b784bbf4d2ce470ade3d0c2963c349a5a7af9cf.tar.gz
zsh-1b784bbf4d2ce470ade3d0c2963c349a5a7af9cf.tar.bz2
zsh-1b784bbf4d2ce470ade3d0c2963c349a5a7af9cf.zip
make correction work; this is a nicer way of handling typos in commands
Diffstat (limited to 'correction.zsh')
-rw-r--r--correction.zsh6
1 files changed, 6 insertions, 0 deletions
diff --git a/correction.zsh b/correction.zsh
new file mode 100644
index 000000000..c9fecb0fe
--- /dev/null
+++ b/correction.zsh
@@ -0,0 +1,6 @@
+setopt correct_all
+
+alias man='nocorrect man'
+alias mv='nocorrect mv'
+alias mysql='nocorrect mysql'
+alias mv='nocorrect mv'