Permalink
Browse files

In capistrano completion show also tasks without description

  • Loading branch information...
1 parent 2cc4801 commit b456541cc392e79ce7b8b30f0cba98f2796ed9a4 @andrey-yantsen andrey-yantsen committed Jul 23, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/capistrano/_capistrano
View
2 plugins/capistrano/_capistrano
@@ -4,7 +4,7 @@
if [[ -f config/deploy.rb || -f Capfile ]]; then
if [[ ! -f .cap_tasks~ || config/deploy.rb -nt .cap_tasks~ ]]; then
echo "\nGenerating .cap_tasks~..." > /dev/stderr
- cap --tasks | grep '#' | cut -d " " -f 2 > .cap_tasks~
+ cap -v --tasks | grep '#' | cut -d " " -f 2 > .cap_tasks~
fi
compadd `cat .cap_tasks~`
fi

0 comments on commit b456541

Please sign in to comment.