浏览代码

knife: fix refactor mistake

Marc Cornellà 4 年之前
父节点
当前提交
22fed4fbcb
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      plugins/knife/_knife

+ 2 - 2
plugins/knife/_knife

@@ -106,10 +106,10 @@ _knife() {
       compadd -Q "$@" show edit list "from file" create delete
       ;;
     bootstrap|clean|cook|prepare)
-      compadd "$@" nodes/*.json(N:t:r); done
+      compadd "$@" nodes/*.json(N:t:r)
       ;;
     init)
-      compadd "$@" ./*(/N:t); done
+      compadd "$@" ./*(/N:t)
       ;;
     *)
       _arguments '3:Subsubcommands:($(_knife_options2))'