Skip to content

Commit

Permalink
In capistrano completion show also tasks without description
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-yantsen committed Jul 23, 2013
1 parent 2cc4801 commit b456541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/capistrano/_capistrano
Original file line number Diff line number Diff line change
Expand Up @@ -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.