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

Re: pointing to .muttrc in different location



* Christian Schneider <strcat@xxxxxxx> [2003-11-15 19:51]:
> Hi Colin,
> 
> * Colin J. Raven (me@xxxxxxxxxxxxxxx) [2003-11-15 10:50]:
> > I'd like to place my .muttrc in a slightly more private location, a 
> > subdirectory of $HOME I've called .mutt.
> > How can I make mutt read its .rc file in the new location?
> > Advice & Suggestions will be greatly appreciated
> 
> Just start mutt. It will read ~/.muttrc or ~/.mutt/muttrc. See the
> manpage for details (man mutt /FILES).
> -- 
I tried this by moving the .muttrc into $Home/.mutt then started mutt.

It didn't work.

There is another solution, and I guess it's as good as any, though I 
don't know how elegant it is. The cognocenti will have to give the 
definitive answer on style.

In $HOME I put a blank .muttrc and populated it with one line:
source ~/.mutt/.muttrc

Then mutt did indeed start up with the desired configuration specified 
in ~/.mutt/.muttrc

It's intersting to note however that Mutt didn't "find" the .muttrc whn 
it was first moved.

Many thanks for the suggestion, you actually got my mind working in the 
right direction. I'd say the problem is solved.

Kind Regards,
-Colin