Bash Completion for Mac OS X

http://blog.jeffterrace.com/2012/09/bash-completion-for-mac-os-x.html