5af52fbc75a07f03f2f796846184e0c2d6ca87b2
- Author
- Joseph Post <jp@jsphpst.com>
- Committer
- Joseph Post <jp@jsphpst.com>
- Date
Message
gulp plugin: missing opening double quote & had unneeded parens on function
Diff
1diff --git a/plugins/gulp/gulp.plugin.zsh b/plugins/gulp/gulp.plugin.zsh
2index 8e11a444f9c2bc658719af2d8d92398ad2703412..f7eaefa85b63cc844e445a310e61a274dcffadea 100644
3--- a/plugins/gulp/gulp.plugin.zsh
4+++ b/plugins/gulp/gulp.plugin.zsh
5@@ -19,8 +19,8 @@
6 # Grabs all available tasks from the `gulpfile.js`
7 # in the current directory.
8 #
9-function $$gulp_completion() {
10- compls=$(grep -Eo "gulp.task\((['\"](([a-zA-Z0-9]|-)*)['\"],)" gulpfile.js 2>/dev/null | grep -Eo "['\"](([a-zA-Z0-9]|-)*)['\"]" | sed s/"['\"]"//g | sort)"
11+function $$gulp_completion {
12+ compls="$(grep -Eo "gulp.task\((['\"](([a-zA-Z0-9]|-)*)['\"],)" gulpfile.js 2>/dev/null | grep -Eo "['\"](([a-zA-Z0-9]|-)*)['\"]" | sed s/"['\"]"//g | sort)"
13
14 completions=(${=compls})
15 compadd -- $completions