170575379eacf8048b66fb91531e2bd305228665

Author
Marc Cornellà <marc.cornella@live.com>
Committer
GitHub <noreply@github.com>
Date

Message

gulp: fix completion function name

Fixes #6620

Diff

 1diff --git a/plugins/gulp/gulp.plugin.zsh b/plugins/gulp/gulp.plugin.zsh
 2index 2b3105135f0be8c86e24d49a5a7858fe872065dd..ec597421d07cda967eaf99a213936c9efea181ae 100644
 3--- a/plugins/gulp/gulp.plugin.zsh
 4+++ b/plugins/gulp/gulp.plugin.zsh
 5@@ -19,11 +19,11 @@
 6 # Grabs all available tasks from the `gulpfile.js`
 7 # in the current directory.
 8 #
 9-function $$gulp_completion {
10+function _gulp_completion {
11     compls=$(gulp --tasks-simple 2>/dev/null)
12 
13     completions=(${=compls})
14     compadd -- $completions
15 }
16 
17-compdef $$gulp_completion gulp
18+compdef _gulp_completion gulp