!!! Bash

Add the following to your bashrc

{{{
# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi

# User specific aliases and functions
source /etc/bash_completion.d/git
export PS1='\[\e[1;32m\]\u@\h \[\e[0;34m\][\@] \[\e[0;37m\][\w] $(__git_ps1 "\[\e[0;32m\][%s]")\n\[\e[0;34m\]-> % \[\e[0;37m\]'
}}}

----
[Git|CategoryComputing.SCM.Git] - [Shell|CategoryComputing.Linux.Shell]