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

Re: Conditional Configuration in .muttrc



On 28 Dec 2008 18:13 -0700, by bob@xxxxxxxxxx (Bob Proulx):
>   set pager_index_lines=`test $(stty -a | sed -n '/rows/s/.*rows 
> \([0-9][0-9]*\);.*/\1/p') -gt 30 && echo 8 || echo 0`

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.

-- 
Michael Kjörling .. michael@xxxxxxxxxxx .. http://michael.kjorling.se
* ..... No bird soars too high if he soars with his own wings ..... *
* ENCRYPTED email preferred -- OpenPGP key ID: 0x 758F8749 BDE9ADA6 *
* ASCII Ribbon Campaign: Against HTML mail, proprietary attachments *

Attachment: signature.asc
Description: Digital signature