Skip to content

Commit

Permalink
Merge pull request #727 from heikki/fish-completion
Browse files Browse the repository at this point in the history
Add completion for fish.
  • Loading branch information
Eric Schoffstall committed Oct 16, 2014
2 parents 09db365 + 7ccf016 commit af14e2d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions completion/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ Add `eval "$(gulp --completion=zsh)"` to `~/.zshrc`.
## Powershell

Add `Invoke-Expression ((gulp --completion=powershell) -join [System.Environment]::NewLine)` to `$PROFILE`.

## Fish

Add `gulp --completion=fish | source` to `~/.config/fish/config.fish`.
10 changes: 10 additions & 0 deletions completion/fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env fish

# Usage:
#
# To enable fish <tab> completion for gulp, add the following line to
# your ~/.config/fish/config.fish file:
#
# gulp --completion=fish | source

complete -c gulp -a "(gulp --tasks-simple)" -f

0 comments on commit af14e2d

Please sign in to comment.