# depending on the background of the terminal.
if [ ${PS1_COLOR:-0} -eq 1 ]; then
eval $(TERM=xterm dircolors 2> /dev/null)
- PS1='${debian_chroot:+($debian_chroot)}\[\033[00;31m\]\u@\h\[\033[00m\]:\[\033[00;34m\]\w\[\033[00m\]\n\$ '
+
+ if [ -z "$debian_chroot" -a -r /etc/debian_chroot ]; then
+ debian_chroot=$(cat /etc/debian_chroot)
+ fi
+ PS1='${debian_chroot:+($debian_chroot)}'
+ PS1="$PS1"'\[\033[00;31m\]\u@\h\[\033[00m\]:\[\033[00;34m\]\w\[\033[00m\]'
+ PS1="$PS1"'\[\033[00;36m\]$(__git_ps1 2>/dev/null)\[\033[00m\]'
+ PS1="$PS1"'\n\$ '
if [ ${DARK} -eq 0 ]; then
LS_COLORS="$(echo "${LS_COLORS}" | sed 's/01;/00;/g')"