Tidy and guard bashrc
Tidy and guard bashrc

Only export environment variables if the program they are used by is
found.

Remove duplicates.

Re-organize to put code in the correct section.

bronzehedwick/dotfiles,bronzehedwick/dotfiles,bronzehedwick/dotfiles,bronzehedwick/dotfiles