mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-09 17:00:44 +01:00
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user