Adds support capistrano multistage completion

This commit is contained in:
Pablo Cantero 2014-01-26 10:18:04 -02:00
commit 16ae4e127f
2 changed files with 57 additions and 7 deletions

View file

@ -0,0 +1,11 @@
# Added `xcap` because `cap` is a reserved word. `cap` completion doesn't work.
# http://zsh.sourceforge.net/Doc/Release/Zsh-Modules.html#The-zsh_002fcap-Module
func xcap() {
if [ -f Gemfile ]
then
bundle exec cap $*
else
cap $*
fi
}