1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-24 04:36:20 +08:00
ohmyzsh/plugins/capistrano/capistrano.plugin.zsh

12 lines
255 B
Bash
Raw Normal View History

2014-04-05 08:20:01 +08:00
# 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
2014-04-05 08:20:01 +08:00
func shipit() {
if [ -f Gemfile ]
then
bundle exec cap $*
else
cap $*
fi
}