NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
# Shell prompt (Score:1)
I use '#' (comment marker) at the beginning of the 2-line prompt (when using X; space is at premium on console). That way even if you copy the whole thing, one can still edit the lines before executing. (BTW, vi-mode in zsh is really excellent, much better than ksh93 or bash3.)
- parv
I like it in color (Score:1)
\n\[\033[45m\]\u@\h${debian_chroot:+ \[\033[0m\]($debian_chroot)\[\033[45m\]}: \[\033[49m\]\[\033[31m\]\w\n\[\033[0m\]\[\033[45m\]#\[\033[0m\]\t \[\033[45m\]$\[\033[0m\]
Color as hint (Score:1)
I use color on my .psqlrc on production machines, in particular, the red color, to remember to think twice before "TRUNCATE"-ing tables or deleting stuff... :-)
\timing
\set PROMPT1 '%[%033[1;31;40m%]%n::%/@%`hostname -s` %x%R%[%033[0m\n%#%]'
\set PROMPT2 '... %#%] '