correction.zsh 379 Bytes
Newer Older
1
if [[ "$ENABLE_CORRECTION" == "true" ]]; then
2
  alias cp='nocorrect cp'
3
  alias ebuild='nocorrect ebuild'
4
5
6
  alias gist='nocorrect gist'
  alias heroku='nocorrect heroku'
  alias hpodder='nocorrect hpodder'
7
8
9
10
  alias man='nocorrect man'
  alias mkdir='nocorrect mkdir'
  alias mv='nocorrect mv'
  alias mysql='nocorrect mysql'
11
12
  alias sudo='nocorrect sudo'

13
14
  setopt correct_all
fi