Pretty Bash Prompt
Add this to your ~/.bash_profile to get a pretty prompt.
example 1
EG:export PS1='\n\[\e[31;22m\]\d \t\e[32;0m\n\u@\[\e[32;0m\]\H:\w>'
Fri Nov 07 09:26:20 user@host:/path>
example 2
EG:export PS1="\[\033[1;31m\][\t]\[\033[1;34m\][\u@\H:\w]#\[\033[0;37m\] "
[10:43:59][user@host:/path]#

Comments
How to change the color?
Post new comment