Unverified Commit 6f85dc23 authored by Gustavo Maia's avatar Gustavo Maia Committed by GitHub
Browse files

kitchen: change sed regex in completion to capture all commands (#5820)


Co-authored-by: default avatarMarc Cornellà <marc.cornella@live.com>
parent 888ab909
......@@ -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
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment