correction.zsh 239 B

12345678910
  1. if [[ "$ENABLE_CORRECTION" == "true" ]]; then
  2. alias cp='nocorrect cp'
  3. alias man='nocorrect man'
  4. alias mkdir='nocorrect mkdir'
  5. alias mv='nocorrect mv'
  6. alias sudo='nocorrect sudo'
  7. alias su='nocorrect su'
  8. setopt correct_all
  9. fi