Unverified Commit 17057537 authored by Marc Cornellà's avatar Marc Cornellà Committed by GitHub
Browse files

gulp: fix completion function name

Fixes #6620
parent 30594886
...@@ -19,11 +19,11 @@ ...@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment