Evan --

...and then Evan Vetere said...
% I've got a bunch of mail files in ~/mail; procmail drops stuff there.
% Each file in that dir is, uh, sourced, in my .muttrc: 
% 
% mailboxes ~/mail/blah ~/mail/bork ~/mail/foo ~/mail/zort 

Yep.


% 
% Can I generate that list automagically? I'm imagining something like: 
% 
% mailboxes ~/mail/*

Close...  mutt doesn't parse your shell globbing wildcards, but can spawn
off a subshell to do it for you (for instance :-)  I have

  mailboxes $MAIL `echo $HOME/Mail/F.*`

in my .mutt/muttrc and you'll probably find another dozen answers shortly.
I could,sure, use sed to change the leading dir path to "=" but I figure
it doesn't matter in the long run and so I don't waste the extra process.


% 
% -- 
% Evan Vetere | [EMAIL PROTECTED]


:-D
-- 
David T-G                       * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]      * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/        Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*

PGP signature

Reply via email to