capistrano.plugin.zsh
257 bytes
1# Added `capit` because `cap` is a reserved word. `cap` completion doesn't work.
2# http://zsh.sourceforge.net/Doc/Release/Zsh-Modules.html#The-zsh_002fcap-Module
3
4function capit() {
5 if [ -f Gemfile ]
6 then
7 bundle exec cap $*
8 else
9 cap $*
10 fi
11}