1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-07 16:00:41 +01:00

Adds support capistrano multistage completion

This commit is contained in:
Pablo Cantero
2014-01-26 10:18:04 -02:00
parent e2838f75f0
commit 16ae4e127f
2 changed files with 57 additions and 7 deletions

View File

@@ -0,0 +1,11 @@
# Added `xcap` 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 xcap() {
if [ -f Gemfile ]
then
bundle exec cap $*
else
cap $*
fi
}