and then...

browse by category
browse by month

2010: 01 02 03 04 05 06 07 08 10 11 12
2007: 01 02 03 04 05 06 07 08 10 11 12
2006: 01 02 03 04 05 06 07 08 10 11 12
2005: 01 02 03 04 05 06 07 08 10 11 12

Archive for July, 2007

One bash prompt to rule them all

I stumbled across Daniel Robbins blog (the creator of Gentoo) and he had an OK article on how to config your bash prompt.

While he makes a good point for using just ‘>’ and putting everything else in the window bar, that just doesn’t cut it for me.

So – heres my suggestion which I have hacked from a CentOS server I ssh into on occasions:
PS1=”\[\033[1;31m\][\$(date +%H):$(date +%M)]\[\033[1;34m\][\u@\h:\w]#\[\033[0;37m\] ”

Just whack that into bash to try it out. To save it put it into your .bashrc file