1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-16 02:40:08 +00:00
ohmyzsh/plugins/capistrano/capistrano.plugin.zsh

12 lines
257 B
Bash
Raw Normal View History

2018-11-01 14:29:05 +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
2018-11-01 14:29:05 +00:00
function capit() {
if [ -f Gemfile ]
then
bundle exec cap $*
else
cap $*
fi
}