Using colours in mutt (was Re: Disk Drive Order Changes - Again)
On Sat, Apr 05, 2008 at 03:40:48PM -0700, Andrew Sackville-West wrote:
> On Sun, Apr 06, 2008 at 08:28:16AM +1000, Alex Samad wrote:
> > On Sat, Apr 05, 2008 at 03:06:09PM -0700, Andrew Sackville-West wrote:
> > > On Sat, Apr 05, 2008 at 02:14:17PM -0500, Butch Kemper wrote:
> > [snip]>
> > > >
> > > > # kopt=root=/dev/hda1 becomes
> > > > # kopt=root=LABEL=/
> > >
> > > I think Alex is right, that you should rebuild the initrd. But the
> > > other thought that occurs to me is perhaps using "/" as a label
> > > is a problem.
>
> > I have been using / as a label for a while with no problems
>
> Fair enough. just a thought. BTW, it's darn hard to find your
> responses with no whitespace around them...
Someting like:
color quoted blue white
color quoted1 green white
color quoted3 yellow white
color signature red cyan
Put them in a file, say colours (ok, probably colors if you insist. :-)
Then something like
source ~/configs/colors
in your .muttrc
I have attached my color file which is set up for black on white. I
think it could have a better regexp for picking up urls though.
--
Chris.
======
## MUTT COLORS
# valid colors : white, black, green, magenta,
# blue, cyan, yellow, red,
# Each color comes in plain (red) and bright (brightred)
# color thisthing foreground background [arguments]
color normal black white
color attachment black cyan
color hdrdefault cyan white
color indicator black green
color markers red white
color index green white ~N # New
color index magenta yellow ~T # Tagged
color index black white ~D # Deleted
color index blue white ~O # Old
color index red white '~f cron'
color index red white '~f Anacron'
color index brightyellow black "~b '\ name.{0,9}\=.{2,30}\.zip'"
color index red yellow '~f root'
color quoted blue white
color quoted1 green white
color quoted2 magenta white
color quoted3 yellow white
color signature red cyan
color status yellow blue
color tilde blue white
color tree red white
color header blue white ^User-agent:
color header blue white ^From:
color header blue white ^To:
color header blue white ^Date:
color header blue white ^Reply-To:
color header blue white ^Cc:
color header red white ^Subject:
color header blue white ^X-Spam-Status:
color body red white [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+
color body blue white (https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+
# Errors will be printed in red:
color error brightred brightdefault
# GPG/PGP related color directives:
#mono body bold "^gpg: Good signature"
#mono body reverse "^gpg: Bad signature from.*"
#color body brightblack cyan "^gpg: Signature made.*"
#color body brightblack green "^gpg: Good signature from.* "
#color body brightblack yellow "^gpg: Can't check signature .*"
#color body brightblack yellow "^gpg: WARNING: .*"
#color body brightwhite red "^gpg: BAD signature from.*"
Reply to: