From f6192d07e3ea9a810ee3991dccb59e372d809b99 Mon Sep 17 00:00:00 2001 From: Gustavo Maia Date: Fri, 27 Jan 2017 07:31:34 -0200 Subject: [PATCH] Change sed regex to capture all possible kitchen commands --- plugins/kitchen/_kitchen | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/kitchen/_kitchen b/plugins/kitchen/_kitchen index dee5c580..32e5a8e4 100644 --- a/plugins/kitchen/_kitchen +++ b/plugins/kitchen/_kitchen @@ -67,7 +67,7 @@ _kitchen() { _kitchen_commands() { local commands - commands=("${(@f)$(_call_program commands $service help | sed -n 's/^ kitchen \([[:alpha:]]*\) [ [].*# \(.*\)$/\1:\2/p')}") + commands=("${(@f)$(_call_program commands $service help | sed -n 's/^ kitchen \([[:alpha:]]*\).*# \(.*\)$/\1:\2/p')}") _describe -t commands 'kitchen commands' commands }