Commit 22fed4fb authored by Marc Cornellà's avatar Marc Cornellà
Browse files

knife: fix refactor mistake

parent 314dd205
...@@ -106,10 +106,10 @@ _knife() { ...@@ -106,10 +106,10 @@ _knife() {
compadd -Q "$@" show edit list "from file" create delete compadd -Q "$@" show edit list "from file" create delete
;; ;;
bootstrap|clean|cook|prepare) bootstrap|clean|cook|prepare)
compadd "$@" nodes/*.json(N:t:r); done compadd "$@" nodes/*.json(N:t:r)
;; ;;
init) init)
compadd "$@" ./*(/N:t); done compadd "$@" ./*(/N:t)
;; ;;
*) *)
_arguments '3:Subsubcommands:($(_knife_options2))' _arguments '3:Subsubcommands:($(_knife_options2))'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment