Set magenta bold font.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 16 Aug 2011 18:02:18 +0300
changeset 182 af9e9693646e
parent 181 11880eae9332
child 183 d555a4cdf92a
child 185 16de070a0dbc
Set magenta bold font.
.bashrc
--- a/.bashrc	Sun Aug 14 22:35:11 2011 +0300
+++ b/.bashrc	Tue Aug 16 18:02:18 2011 +0300
@@ -12,6 +12,11 @@
 # export TERM=xterm-256color
 
 PS1='bash# '
+# Set magenta bold font.
+case "$TERM" in
+  xterm*) PS1='\[\033[35m\033[1m\]bash# \[\033[0m\]'
+  ;;
+esac
 
 # Easy cd to often used dirs.
 CDPATH=.:~:~/devel:~/devel/my-devel