diff options
author | Marc Cornellà <marc.cornella@live.com> | 2019-04-08 23:14:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-08 23:14:00 +0200 |
commit | 170575379eacf8048b66fb91531e2bd305228665 (patch) | |
tree | 0c8a2d631eeb37d16e028f6f62595e7cde8a71b4 /plugins/gulp | |
parent | 30594886bfebefa0c7706dc82f533735d3a58e4b (diff) | |
download | zsh-170575379eacf8048b66fb91531e2bd305228665.tar.gz zsh-170575379eacf8048b66fb91531e2bd305228665.tar.bz2 zsh-170575379eacf8048b66fb91531e2bd305228665.zip |
gulp: fix completion function name
Fixes #6620
Diffstat (limited to 'plugins/gulp')
-rw-r--r-- | plugins/gulp/gulp.plugin.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gulp/gulp.plugin.zsh b/plugins/gulp/gulp.plugin.zsh index 2b3105135..ec597421d 100644 --- a/plugins/gulp/gulp.plugin.zsh +++ b/plugins/gulp/gulp.plugin.zsh @@ -19,11 +19,11 @@ # Grabs all available tasks from the `gulpfile.js` # in the current directory. # -function $$gulp_completion { +function _gulp_completion { compls=$(gulp --tasks-simple 2>/dev/null) completions=(${=compls}) compadd -- $completions } -compdef $$gulp_completion gulp +compdef _gulp_completion gulp |