capistrano.plugin.zsh 255 Bytes
Newer Older
1
# Added `shipit` because `cap` is a reserved word. `cap` completion doesn't work.
2
3
# http://zsh.sourceforge.net/Doc/Release/Zsh-Modules.html#The-zsh_002fcap-Module

4
func shipit() {
5
6
7
8
9
10
11
  if [ -f Gemfile ]
  then
    bundle exec cap $*
  else
    cap $*
  fi
}