Blame view

plugins/capistrano/capistrano.plugin.zsh 254 Bytes
ed37aae5b   mj   Squashed 'repos/r...
1
2
  # 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
f4c442e7d   mj   Squashed 'repos/r...
3
  func capit() {
ed37aae5b   mj   Squashed 'repos/r...
4
5
6
7
8
9
10
    if [ -f Gemfile ]
    then
      bundle exec cap $*
    else
      cap $*
    fi
  }