conf2/zsh/.oh-my-zsh/plugins/capistrano/capistrano.plugin.zsh

12 lines
257 B
Bash
Raw Permalink Normal View History

2019-01-12 15:47:23 +00:00
# Added `capit` because `cap` is a reserved word. `cap` completion doesn't work.
# http://zsh.sourceforge.net/Doc/Release/Zsh-Modules.html#The-zsh_002fcap-Module
function capit() {
if [ -f Gemfile ]
then
bundle exec cap $*
else
cap $*
fi
}