From 33158d14d9945518c9d25feaf78a4e809f771170 Mon Sep 17 00:00:00 2001 From: Jakob Westhoff Date: Fri, 5 Feb 2016 12:28:08 +0100 Subject: [PATCH] Allow for `gulpfile` to start with an uppercase `G` --- gulp.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulp.plugin.zsh b/gulp.plugin.zsh index b28ca00..6149c96 100755 --- a/gulp.plugin.zsh +++ b/gulp.plugin.zsh @@ -18,7 +18,7 @@ # `gulpfile.coffee` in the current directory. # function tasks () { - compls=$(grep -Eho "gulp\.task[^,]*" gulpfile.* 2>/dev/null | sed s/\"/\'/g | cut -d "'" -f 2 | sort) + compls=$(grep -Eho "gulp\.task[^,]*" {G,g}ulpfile.* 2>/dev/null | sed s/\"/\'/g | cut -d "'" -f 2 | sort) completions=(${=compls}) compadd -- $completions