<<< Date Index >>>     <<< Thread Index >>>

Re: Conditional Configuration in .muttrc



Kyle Wheeler wrote:
> On Monday, December 29 at 12:15 PM, quoth Michael Kjorling:
> > Untested, but should work:
> > `if [ ... ]; then echo 'source onefile.muttrc'; else echo 'source 
> > otherfile.muttrc'; fi`
> >
> > Then just fill in "onefile.muttrc" and "otherfile.muttrc" with 
> > whichever settings are appropriate given the conditional.
> 
> A slightly more succinct way of doing it is:
> 
>      source `[ ... ] && echo onefile.muttrc || echo twofile.muttrc`

Interesting ideas.  Unfortunately those do lead to a proliferation of
configuration files.  Oh well.  I guess that is just the way things
are going to be.

Thanks to both of you!

Bob