Browse Source

feat(lib): don't correct `su` command arguments (#10214)

Celestino Gomes 2 years ago
parent
commit
c7a55086e1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/correction.zsh

+ 1 - 0
lib/correction.zsh

@@ -9,6 +9,7 @@ if [[ "$ENABLE_CORRECTION" == "true" ]]; then
   alias mv='nocorrect mv'
   alias mv='nocorrect mv'
   alias mysql='nocorrect mysql'
   alias mysql='nocorrect mysql'
   alias sudo='nocorrect sudo'
   alias sudo='nocorrect sudo'
+  alias su='nocorrect su'
 
 
   setopt correct_all
   setopt correct_all
 fi
 fi