Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Merge pull request #2316 from BBonifield/master

Making auto-correction off by default.

Okay, I don't feel so strongly these days about this.
  • Loading branch information...
2 parents 8c93142 + f082d7a commit 357ab4912b98e5ffc14dd62a53b988053d7f9a6e @robbyrussell committed
Showing with 11 additions and 12 deletions.
  1. +11 −12 lib/correction.zsh
23 lib/correction.zsh
@@ -1,14 +1,13 @@
-if [[ "$DISABLE_CORRECTION" == "true" ]]; then
- return
+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'
+if [[ "$ENABLE_CORRECTION" == "true" ]]; then
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'

0 comments on commit 357ab49

Please sign in to comment.
Something went wrong with that request. Please try again.