Commits

Florian Wagner  committed c105cf6

Add $debian_chroot to PS1.

  • Participants
  • Parent commits b9af49d

Comments (0)

Files changed (1)

File shell/bash_profile

 . ~/.profile
 
 # prompt
-export PS1='[\[\033[00;31m\]\h\[\033[00m\]] \[\033[00;34m\]\W \$ \[\033[00m\]'
+export PS1='[\[\033[00;31m\]\h${debian_chroot:+:$debian_chroot}\[\033[00m\]] \[\033[00;34m\]\W \$ \[\033[00m\]'
 
 # change the window title of X terminals
 case ${TERM} in