Browse Source

knife: fix refactor mistake

Marc Cornellà 4 years ago
parent
commit
22fed4fbcb
1 changed files with 2 additions and 2 deletions
  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))'