Dmitrij D. Czarkoff <czarkoff <at> gmail.com> writes: > Steffen "Daode" Nurpmeso said: > > In ~/.mailrc: > > > > set NAIL_EXTRA_RC=~/.file-with-nail-specific-configs > > > > should help you out. > > Or just "export NAILRC=~/.nailrc" in ~/.kshrc, ~/.bashrc or wherever you set > your environment.
Well, the Heirloom code does this: if ((cp = getenv("MAILRC")) != NULL) load(expand(cp)); else if ((cp = getenv("NAILRC")) != NULL) load(expand(cp)); else load(expand("~/.mailrc")); if (getenv("NAIL_EXTRA_RC") == NULL && (cp = value("NAIL_EXTRA_RC")) != NULL) load(expand(cp)); So: yes and no. I personally use the NAIL_EXTRA_RC approach, because i have only one set of startup files i use on every OS, with many settings shared in between my POSIX-compatible .mailrc, and what would end up as NAILRC. Slightly more expensive to load, but easier to maintain. Doesn't matter if you use nail exclusively, not side-by-side with a native mailx(1). :) Cheerio --steffen