I'm a big fan of Fabric, such a big fan that I decided to base a deploy tool around it. But once small annoyance I have is how it deals with fabricrc files. If not supplied in the fab command, fabric will look for a file in $HOME/.fabricrc
. Since I always use project based fabricrc files it ends up with me having to supply fabricrc on every command call.
So I put together a little script to change this, what this script does is to look for .fabricrc or fabricrc.txt in the directory where fab is run, before looking in $HOME
.