capistrano-autocomplete
Installation
Step 1. bash-completion package
Install bash-completion via the package manager for your operating system.
# Homebrew
brew install bash-completion
# Macports
sudo port install bash-completion
# Yum
yum install bash-completion
# Apt
apt-get install bash-completion
Step 2. Clone repo
git clone https://github.com/bashaus/capistrano-autocomplete.git
cd capistrano-autocomplete
Step 3. Link the script
ln -s cap /usr/local/etc/bash_completion.d/cap
Step 4. Load terminal
Relaunch bash/terminal to see changes