summaryrefslogtreecommitdiff
path: root/plugins/capistrano/capistrano.plugin.zsh
blob: 0b555979122c213d1fb038049fc00ec192dcb2c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
# Added `shipit` 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 capit() {
  if [ -f Gemfile ]
  then
    bundle exec cap $*
  else
    cap $*
  fi
}