Sample .bash_profile
configuration files that I've found and modified to my liking. Contain some useful code for modifying your command prompt as well as nice aliases.
I personally use bash_profile_3
.
In order to configure your bash profile to one of the profiles below, create a folder in your home (~
) directory called .bash_profiles
and add the git-prompt.sh
file. Add as many profiles to this directory as you like, and create a symbolic link from whichever one you wish to use as your default bash profile to .bash_profile
.
Command for this:
ln -s /path/to/desired/profile ~/.bash_profile
Useful links: http://mediadoneright.com/content/ultimate-git-ps1-bash-prompt http://www.thegeekstuff.com/2008/09/bash-shell-ps1-10-examples-to-make-your-linux-prompt-like-angelina-jolie/