# HG changeset patch # User Oleksandr Gavenko <gavenkoa@gmail.com> # Date 1343756001 -10800 # Node ID 1f952c2d013557ac0fcb5f75366ef7cbb36c9881 # Parent eb6cd35851b2cc8528e1835491224033b6e21c4e Use coloured prompt under Emacs term-mode. diff -r eb6cd35851b2 -r 1f952c2d0135 .bashrc --- a/.bashrc Thu Jul 26 15:17:27 2012 +0300 +++ b/.bashrc Tue Jul 31 20:33:21 2012 +0300 @@ -12,7 +12,7 @@ PS1='bash# ' # Set magenta bold font. case "$TERM" in - xterm*) + xterm*|eterm-color) PS1='\[\033[31m\033[1m\]\h\[\033[35m\]+bash# \[\033[0m\]' PS2='\[\033[32m\]> \[\033[0m\]' ;;