# Rake/cap auto complete for bash

**URL:** <https://www.ruby-forum.com/t/rake-cap-auto-complete-for-bash/156920>\
**Category:** Rails\
**Created:** [January 5, 2009, 11:32am UTC](https://www.ruby-forum.com/t/rake-cap-auto-complete-for-bash/156920 "2009-01-05T11:32:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![seb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/8edcca/32.png) [@seb](https://www.ruby-forum.com/u/seb)\
**Post date:** [January 5, 2009, 11:32am UTC](https://www.ruby-forum.com/t/rake-cap-auto-complete-for-bash/156920/1 "2009-01-05T11:32:40Z")

</div>

Hi

After reading codes and searching on google, I have developed my own  
little script to add auto complete for rake/cap to display available  
tasks.It’s only for bash shell.

I will add capistrano-ext for cap completion to get stages completion  
if it’s possible.

Source code is on github:[sgruhier (Sébastien Gruhier) · GitHub](http://github.com/sgruhier/)  
rake\_cap\_bash\_autocomplete/tree/master but you do not need to clone  
the repository, just copy/paste the shell script.

Seb
