浏览代码

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

Celestino Gomes 3 年之前
父节点
当前提交
c7a55086e1
共有 1 个文件被更改,包括 1 次插入0 次删除
  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 mysql='nocorrect mysql'
   alias sudo='nocorrect sudo'
+  alias su='nocorrect su'
 
   setopt correct_all
 fi