[notmuch] [PATCH] Support multiple configuration files via $NOTMUCH_CONFIG

Carl Worth cworth at cworth.org
Sun Nov 22 18:08:58 PST 2009


On Sat, 21 Nov 2009 23:18:26 -0600, Alec Berryman <alec at thened.net> wrote:
> If present, $NOTMUCH_CONFIG will be used as the configuration file
> location.

Hi Alec, welcome to notmuch!

And thanks for this patch. I've pushed it now.

I need this quite often when setting up a new database for testing a
patch, for example. And I had an environment variable for the database
path once upon a time, before adding a configuration file. But I lost
that feature when adding the configuration file. So it's really nice to
have this functionality back again.

We should probably add support for "notmuch -f <config-filename>" as
well. I've noted that idea in the TODO file now, (which just keeps
growing somehow).

-Carl


More information about the notmuch mailing list