capistrano.plugin.zsh 255 B

1234567891011
  1. # Added `shipit` 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. func shipit() {
  4. if [ -f Gemfile ]
  5. then
  6. bundle exec cap $*
  7. else
  8. cap $*
  9. fi
  10. }