diff bash @ 103:0e8018fb4203

Color prompt
author Edho Prima Arief <edho@myconan.net>
date Wed, 07 Sep 2011 10:29:36 +0700
parents 7a287a518718
children 4e44a9c03a3a
line wrap: on
line diff
--- a/bash	Thu Aug 18 15:20:54 2011 +0700
+++ b/bash	Wed Sep 07 10:29:36 2011 +0700
@@ -5,7 +5,8 @@
 _org_path="${PATH}"
 export PATH="${HOME}/.ecos_bin:${HOME}/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
 
-PS1='[\u@\h \W]\$ '
+#PS1='[\u@\h \W]\$ '
+PS1='[\[\e[0;33m\]\u\[\e[0m\]@\[\e[0;32m\]\h\[\e[0m\] \[\e[1;34m\]\W\[\e[0m\]]\$ '
 
 export PAGER="less -Rins"
 export EDITOR=vi