On Sun, Jul 3, 2016 at 12:43 AM, Jon LaBadie <mut...@jgcomp.com> wrote:
>> > On Thu, Jun 30, 2016 at 08:02:38PM -0400, Xu Wang wrote:
>> >>
>> >> I have read the environment variables section in 'man mutt' and there
>> >> does not seem to be a MUTTRC environment variable. One can set using
>> >> -F option but sometime environment variable is nice.
>> >>
>> >> Can someone confirm this is correct? Is there a reason for this?
>> >
>
> How about implementing your own with a mutt alias?
>
>
>   alias mutt='mutt ${MUTTRC:+-F ${MUTTRC}}'
>
> If MUTTRC is not set, or is the empty string, this becomes
> just "mutt" and ~/.muttrc will be used as normal.  But if
> MUTTRC is set it becomes "mutt -F ${MUTTRC}" and uses the
> rc file specified in the variable.
>
> Jon
> --
> Jon H. LaBadie                 j...@jgcomp.com
>  11226 South Shore Rd.          (703) 787-0688 (H)
>  Reston, VA  20190              (703) 935-6720 (C)

Interesting idea, Jon! I will consider this for my personal setup.

Kind regards,

Xu

Reply via email to