b456541cc392e79ce7b8b30f0cba98f2796ed9a4

Author
Andrey Janzen <andrey@janzen.su>
Committer
Andrey Janzen <andrey@janzen.su>
Date

Message

In capistrano completion show also tasks without description

Diff

 1diff --git a/plugins/capistrano/_capistrano b/plugins/capistrano/_capistrano
 2index 1002dad96fbb4c42803729153642933a344892a0..3cadf3d54be8aabaacaf509d5ca75ab14eb97910 100644
 3--- a/plugins/capistrano/_capistrano
 4+++ b/plugins/capistrano/_capistrano
 5@@ -4,7 +4,7 @@
 6 if [[ -f config/deploy.rb || -f Capfile ]]; then
 7   if [[ ! -f .cap_tasks~ || config/deploy.rb -nt .cap_tasks~ ]]; then
 8     echo "\nGenerating .cap_tasks~..." > /dev/stderr
 9-    cap --tasks | grep '#' | cut -d " " -f 2 > .cap_tasks~
10+    cap -v --tasks | grep '#' | cut -d " " -f 2 > .cap_tasks~
11   fi
12   compadd `cat .cap_tasks~`
13 fi