From 6f85dc2389b415011b844ff2a8cbd948be566ec3 Mon Sep 17 00:00:00 2001 From: Gustavo Maia <gurumaia@users.noreply.github.com> Date: Fri, 28 Feb 2020 15:23:36 -0300 Subject: kitchen: change sed regex in completion to capture all commands (#5820) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Marc Cornellà <marc.cornella@live.com> --- plugins/kitchen/_kitchen | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/kitchen/_kitchen b/plugins/kitchen/_kitchen index 29a3125e4..d93d93d78 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:]]*\) [ A-Z[].*# \(.*\)$/\1:\2/p')}") _describe -t commands 'kitchen commands' commands } -- cgit v1.2.3-70-g09d2