\#!/bin/bash to #!/usr/bin/env bash

To use a newer version of bash (my bash is now brewed).

I was thinking about this the other day, but I didn't realize that Apple
left me no choice. In OS X bash Update
1.0 (https://support.apple.com/kb/HT6495), Apple seemed to have broken
some of my function exporting. I haven't thoughly investigated though.