ohmyzsh/plugins/capistrano/capistrano.plugin.zsh
2014-01-26 10:40:34 -02:00

12 lines
251 B
Bash

# Added `xcap` 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 xcap() {
if [ -f Gemfile ]
then
bundle exec cap $*
else
cap $*
fi
}