Skip to content

Commit

Permalink
Merge pull request ohmyzsh#1993 from zvirusz/patch-2
Browse files Browse the repository at this point in the history
In capistrano completion show also tasks without description
  • Loading branch information
robbyrussell committed Jul 23, 2013
2 parents 2cc4801 + b456541 commit a256f7a
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 a256f7a

Please sign in to comment.