mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 21:39:48 +01: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