in Your System Prompt
bbs-software.com
bbs-software.com
It's a rectangle for me as well.
I realized it approximately .002 milliseconds after pressing <Enter> (after "shutdown -r now") but it was too late.
Since then, I use one style of prompt on my personal machines and other non-critical hosts. On production/critical machines, I use a different style of prompt that stands out quite a bit and includes the hostname in all caps.
It seems simple (and it is) but it has done the job of keeping me from rebooting a critical production machine during the middle of the day.
Although the different prompt style for remote systems is still handy, cause there's tons of other stuff you can do accidentaly that could cause damage.
Edit: alive again
You can also tell iTerm to report its terminal type as something specific, then do something like this in your bashrc to setup a different prompt if you're not on OSX:
if [ $TERM = "xterm-256color" ]; then
http://notes.torrez.org/2013/04/put-a-burger-in-your-shell.h...