Diff
1diff --git a/plugins/capistrano/_capistrano b/plugins/capistrano/_capistrano
2index 7a74b3732d575efb580d0ae84c7764b0a2b856e2..c181b55cac1a13e68552600381f0ff538c80a83b 100644
3--- a/plugins/capistrano/_capistrano
4+++ b/plugins/capistrano/_capistrano
5@@ -1,7 +1,7 @@
6-#compdef xcap cap
7+#compdef shipit
8 #autoload
9
10-# Added `xcap` because `cap` is a reserved word. `cap` completion doesn't work.
11+# Added `shipit` because `cap` is a reserved word. `cap` completion doesn't work.
12 # http://zsh.sourceforge.net/Doc/Release/Zsh-Modules.html#The-zsh_002fcap-Module
13
14 local curcontext="$curcontext" state line ret=1
15@@ -14,7 +14,7 @@ _arguments -C \
16 _cap_tasks() {
17 if [[ -f config/deploy.rb || -f Capfile ]]; then
18 if [[ ! -f .cap_tasks~ ]]; then
19- xcap -v --tasks | awk '{command=$2; $1=$2=$3=""; gsub(/^[ \t\r\n]+/, "", $0); gsub(":", "\\:", command); print command"["$0"]"}' > .cap_tasks~
20+ shipit -v --tasks | awk '{command=$2; $1=$2=$3=""; gsub(/^[ \t\r\n]+/, "", $0); gsub(":", "\\:", command); print command"["$0"]"}' > .cap_tasks~
21 fi
22
23 OLD_IFS=$IFS
24diff --git a/plugins/capistrano/capistrano.plugin.zsh b/plugins/capistrano/capistrano.plugin.zsh
25index 9a4a2cc34b95aa050ca4393e4c32a6a16fa14621..c85eb474ca8a9cd85f8f3cc4446e54ce5a5a0c85 100644
26--- a/plugins/capistrano/capistrano.plugin.zsh
27+++ b/plugins/capistrano/capistrano.plugin.zsh
28@@ -1,7 +1,7 @@
29-# Added `xcap` because `cap` is a reserved word. `cap` completion doesn't work.
30+# Added `shipit` because `cap` is a reserved word. `cap` completion doesn't work.
31 # http://zsh.sourceforge.net/Doc/Release/Zsh-Modules.html#The-zsh_002fcap-Module
32
33-func xcap() {
34+func shipit() {
35 if [ -f Gemfile ]
36 then
37 bundle exec cap $*