szboardstretcher |
03-02-2011 12:22 PM |
Code:
(terminal@msdos)-(01:22 PM Wed Mar 02)-(~)
$ >
Unlike stress_junkie, who likes to use the default "Ubuntu" shell prompt :D, I do mine like this, because I like to know *exactly* what directory I am in, what user I am, and what box I am logged into. This way I won't ever have to say "Oh, sorry, I deleted that file, I thought I was on a development box."
Here is the prompt if you'd like to use it -- its colorized. Blue currently. I've used red and green versions for Dev / Prod, accordingly.
Code:
PS1='\[\033[1;31m\]\[\033[1;30m\](\[\033[1;34m\]\u\[\033[1;37m\]@\[\033[0;37m\]\h\[\033[1;30m\])-(\[\033[0;37m\]\@\[\033[0;32m\] \[\033[1;34m\]\d\[\033[1;30m\])-(\[\033[1;32m\]\w\[\033[1;30m\])\[\033[0;34m\]\n\[\033[1;34m\]\$ \[\033[1;37m\]>\[\033[0;37m\]'
export PS1
|