Red5d/pushbullet-bash — pull request #1 by voltagex (2013-07-14 05:47:44+00:00)
Title: Very simple config file loading

I added support for a config file to your script. Having credentials in environment variables makes me uneasy.

I've used a very quick and dirty version of XDG config standards - see http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html#variables

I'm not sure if you were trying to make this *sh compatible but if you need me to I can rewrite the variable substitution on line 8 without a bash-ism.