From 22fed4fbcbf4d6f702b06a1fcb30df37594cf88a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Cornell=C3=A0?= Date: Wed, 4 Mar 2020 09:12:58 +0100 Subject: [PATCH] knife: fix refactor mistake --- plugins/knife/_knife | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/knife/_knife b/plugins/knife/_knife index 38f8ad6fa..09757ebaa 100644 --- a/plugins/knife/_knife +++ b/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))'