correction.zsh 353 Bytes
Newer Older
1
if [[ "$ENABLE_CORRECTION" == "true" ]]; then
2
3
4
5
6
7
8
9
10
11
  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'

12
13
  setopt correct_all
fi