Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F120523693
zsh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Jul 5, 00:08
Size
593 B
Mime Type
text/x-shellscript
Expires
Mon, Jul 7, 00:08 (2 d)
Engine
blob
Format
Raw Data
Handle
27160537
Attached To
R8244 Eawag_Swing_Weight_Elicitation
zsh
View Options
#!/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
Event Timeline
Log In to Comment