Custom bash completion for fabric tasks

Here’s a small bash function to provide TAB-completion for fabric tasks. Simply add the following to your ~/.bashrc You may already have a block like if [ -f /etc/bash_completion ]… in that case, simply add the extra line into that block. Have fun