correction.zsh 367 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
if [[ "$DISABLE_CORRECTION" == "true" ]]; then
  return
else
  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'
13
  alias sudo='nocorrect sudo'
14
fi