Populate repo
This commit is contained in:
11
zsh/.oh-my-zsh/plugins/capistrano/capistrano.plugin.zsh
Normal file
11
zsh/.oh-my-zsh/plugins/capistrano/capistrano.plugin.zsh
Normal file
@ -0,0 +1,11 @@
|
||||
# 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
|
||||
}
|
Reference in New Issue
Block a user