mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 13:50:09 +00:00
parent
30594886bf
commit
170575379e
1 changed files with 2 additions and 2 deletions
|
@ -19,11 +19,11 @@
|
||||||
# Grabs all available tasks from the `gulpfile.js`
|
# Grabs all available tasks from the `gulpfile.js`
|
||||||
# in the current directory.
|
# in the current directory.
|
||||||
#
|
#
|
||||||
function $$gulp_completion {
|
function _gulp_completion {
|
||||||
compls=$(gulp --tasks-simple 2>/dev/null)
|
compls=$(gulp --tasks-simple 2>/dev/null)
|
||||||
|
|
||||||
completions=(${=compls})
|
completions=(${=compls})
|
||||||
compadd -- $completions
|
compadd -- $completions
|
||||||
}
|
}
|
||||||
|
|
||||||
compdef $$gulp_completion gulp
|
compdef _gulp_completion gulp
|
||||||
|
|
Loading…
Reference in a new issue