Here is my .bash_profile, used to specify settings when I open a terminal. It’s customized for OS X, but should be adjusted fairly easily to Linux or another *NIX-style operating system with bash.
I generated the pretty HTML version shown above with the command highlight -u utf-8 --syntax sh .bash_profile | vim -, and then saved the file that was opened in vim. Thanks to Neil for the majority of this file.