correction.zsh 338 Bytes
Newer Older
1
2
3
4
if [[ "$DISABLE_CORRECTION" == "true" ]]; then
  return
else
  setopt correct_all
5

6
7
8
9
10
11
12
13
14
  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'
fi