summaryrefslogtreecommitdiff
path: root/plugins/capistrano
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2015-09-26 09:29:25 -0700
committerRobby Russell <robby@planetargon.com>2015-09-26 09:29:25 -0700
commitccc86dae7669006d2c114aa5711871ad0eb8fe93 (patch)
tree42a60a34ebe60e278d06064f1ebcdd06a0a29921 /plugins/capistrano
parenta8617192f7d8ebca563cca4195c6a438137b1fb0 (diff)
parent1bb2715b22a08d3ae24d99550acd531c872a26cd (diff)
downloadzsh-ccc86dae7669006d2c114aa5711871ad0eb8fe93.tar.gz
zsh-ccc86dae7669006d2c114aa5711871ad0eb8fe93.tar.bz2
zsh-ccc86dae7669006d2c114aa5711871ad0eb8fe93.zip
Merge pull request #4375 from PrestanceDesign/capistrano-plugin-fix
Fix capistrano problem when generating autocompletion
Diffstat (limited to 'plugins/capistrano')
-rw-r--r--plugins/capistrano/_capistrano2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/capistrano/_capistrano b/plugins/capistrano/_capistrano
index e6e71ffcc..c19c20b7a 100644
--- a/plugins/capistrano/_capistrano
+++ b/plugins/capistrano/_capistrano
@@ -14,7 +14,7 @@ _arguments -C \
_cap_tasks() {
if [[ -f config/deploy.rb || -f Capfile ]]; then
if [[ ! -f .cap_tasks~ ]]; then
- shipit -v --tasks | sed 's/\(\[\)\(.*\)\(\]\)/\2:/' | awk '{command=$2; $1=$2=$3=""; gsub(/^[ \t\r\n]+/, "", $0); gsub(":", "\\:", command); print command"["$0"]"}' > .cap_tasks~
+ shipit --tasks | sed 's/\(\[\)\(.*\)\(\]\)/\2:/' | awk '{command=$2; $1=$2=$3=""; gsub(/^[ \t\r\n]+/, "", $0); gsub(":", "\\:", command); print command"["$0"]"}' > .cap_tasks~
fi
OLD_IFS=$IFS