Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
6f85dc23
Unverified
Commit
6f85dc23
authored
Feb 28, 2020
by
Gustavo Maia
Committed by
GitHub
Feb 28, 2020
Browse files
kitchen: change sed regex in completion to capture all commands (#5820)
Co-authored-by:
Marc Cornellà
<
marc.cornella@live.com
>
parent
888ab909
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/kitchen/_kitchen
View file @
6f85dc23
...
...
@@ -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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment