diff options
Diffstat (limited to 'node_modules/gulp/completion/zsh')
-rw-r--r-- | node_modules/gulp/completion/zsh | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/node_modules/gulp/completion/zsh b/node_modules/gulp/completion/zsh deleted file mode 100644 index 8169b22d7..000000000 --- a/node_modules/gulp/completion/zsh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/zsh - -# Borrowed from grunt-cli -# http://gruntjs.com/ -# -# Copyright (c) 2012 Tyler Kellen, contributors -# Licensed under the MIT license. -# https://github.com/gruntjs/grunt/blob/master/LICENSE-MIT - -# Usage: -# -# To enable zsh <tab> completion for gulp, add the following line (minus the -# leading #, which is the zsh comment character) to your ~/.zshrc file: -# -# eval "$(gulp --completion=zsh)" - -# Enable zsh autocompletion. -function _gulp_completion() { - # Grab tasks - compls=$(gulp --tasks-simple) - completions=(${=compls}) - compadd -- $completions -} - -compdef _gulp_completion gulp |