forked from extern/ohmyzsh
knife: fix refactor mistake
This commit is contained in:
parent
314dd205ca
commit
22fed4fbcb
@ -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))'
|
||||||
|
Loading…
Reference in New Issue
Block a user