correction.zsh 367 B

1234567891011121314
  1. if [[ "$DISABLE_CORRECTION" == "true" ]]; then
  2. return
  3. else
  4. setopt correct_all
  5. alias man='nocorrect man'
  6. alias mv='nocorrect mv'
  7. alias mysql='nocorrect mysql'
  8. alias mkdir='nocorrect mkdir'
  9. alias gist='nocorrect gist'
  10. alias heroku='nocorrect heroku'
  11. alias ebuild='nocorrect ebuild'
  12. alias hpodder='nocorrect hpodder'
  13. alias sudo='nocorrect sudo'
  14. fi