Over time, many people have e-mailed me excellent examples, and I've written some interesting ones myself. There are too many to include here, so I have put all of the examples together into some web pages which can be seen at http://www.gilesorr.com/bashprompt/. Most of the examples given here can also be seen on the web.