Commit a256f7a8 authored by Robby Russell's avatar Robby Russell
Browse files

Merge pull request #1993 from zvirusz/patch-2

In capistrano completion show also tasks without description
parents 2cc4801b b456541c
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
if [[ -f config/deploy.rb || -f Capfile ]]; then if [[ -f config/deploy.rb || -f Capfile ]]; then
if [[ ! -f .cap_tasks~ || config/deploy.rb -nt .cap_tasks~ ]]; then if [[ ! -f .cap_tasks~ || config/deploy.rb -nt .cap_tasks~ ]]; then
echo "\nGenerating .cap_tasks~..." > /dev/stderr 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 fi
compadd `cat .cap_tasks~` compadd `cat .cap_tasks~`
fi fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment