On Sat, Apr 16, 2016 at 11:09:11PM -0400, Xu Wang wrote: > It is possible to set config file with > > mutt -F /path/to/muttrc > > Is it possible to do so with environment variable? I looked at > environment variable section in man mutt and could not see it so I'm > guessing it is not possible, but I want to double-check. >
Seems like there should be a MUTTRC variable doesn't it? I don't know if an alias like this would help. It becomes mutt -F $MUTTRC if MUTTRC is set, otherwise it is just mutt. But MUTTRC doesn't have to be an exported variable. alias mymutt='mutt ${MUTTRC+-F ${MUTTRC}}' or even alias mutt='mutt ${MUTTRC+-F ${MUTTRC}}' Jon -- Jon H. LaBadie j...@jgcomp.com 11226 South Shore Rd. (703) 787-0688 (H) Reston, VA 20190 (703) 935-6720 (C)