bashrc: Refactored ps1 lines into functions. Removed irrelevant code