Skip to content

Commit

Permalink
Only setopt correct, not "correct_all".
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
blueyed committed Dec 16, 2011
1 parent c133f41 commit 70e5118
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions lib/correction.zsh
@@ -1,10 +1,2 @@
setopt correct_all # correct commands, but not any arguments (correct_all would do that)

setopt correct
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'

0 comments on commit 70e5118

Please sign in to comment.