22fed4fbcbf4d6f702b06a1fcb30df37594cf88a
- Author
- Marc Cornellà <marc.cornella@live.com>
- Committer
- Marc Cornellà <marc.cornella@live.com>
- Date
Message
knife: fix refactor mistake
Diff
1diff --git a/plugins/knife/_knife b/plugins/knife/_knife
2index 38f8ad6fafa35e13e60d20a73fabd315eb4a6b0f..09757ebaabb5242f206a46a64316de6f5e42a743 100644
3--- a/plugins/knife/_knife
4+++ b/plugins/knife/_knife
5@@ -106,10 +106,10 @@ _knife() {
6 compadd -Q "$@" show edit list "from file" create delete
7 ;;
8 bootstrap|clean|cook|prepare)
9- compadd "$@" nodes/*.json(N:t:r); done
10+ compadd "$@" nodes/*.json(N:t:r)
11 ;;
12 init)
13- compadd "$@" ./*(/N:t); done
14+ compadd "$@" ./*(/N:t)
15 ;;
16 *)
17 _arguments '3:Subsubcommands:($(_knife_options2))'