diff options
author | Gustavo Maia <gurumaia@users.noreply.github.com> | 2020-02-28 15:23:36 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-28 19:23:36 +0100 |
commit | 6f85dc2389b415011b844ff2a8cbd948be566ec3 (patch) | |
tree | 2b53412eb751128c5e3fe8a23e876aecd113fa3d | |
parent | 888ab9091c4fb5bbadd1329524abfe9aa7a84451 (diff) | |
download | zsh-6f85dc2389b415011b844ff2a8cbd948be566ec3.tar.gz zsh-6f85dc2389b415011b844ff2a8cbd948be566ec3.tar.bz2 zsh-6f85dc2389b415011b844ff2a8cbd948be566ec3.zip |
kitchen: change sed regex in completion to capture all commands (#5820)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
-rw-r--r-- | plugins/kitchen/_kitchen | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |