mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 22:00:08 +00:00
11 lines
255 B
Bash
11 lines
255 B
Bash
# 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
|
|
|
|
func shipit() {
|
|
if [ -f Gemfile ]
|
|
then
|
|
bundle exec cap $*
|
|
else
|
|
cap $*
|
|
fi
|
|
}
|