capistrano.plugin.zsh 257 B

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