From 91d1d3f043b82d5f3f8c04f2db71a829a7406131 Mon Sep 17 00:00:00 2001 From: Alec Berryman Date: Sat, 21 Nov 2009 23:18:26 -0600 Subject: Support multiple configuration files via $NOTMUCH_CONFIG If present, $NOTMUCH_CONFIG will be used as the configuration file location. --- notmuch.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'notmuch.c') diff --git a/notmuch.c b/notmuch.c index 8cb1310..d84cea5 100644 --- a/notmuch.c +++ b/notmuch.c @@ -98,7 +98,8 @@ command_t commands[] = { "\t\tThe setup command will prompt for your full name, your primary\n" "\t\temail address, any alternate email addresses you use, and the\n" "\t\tdirectory containing your email archives. Your answers will be\n" - "\t\twritten to a configuration file in ${HOME}/.notmuch-config .\n" + "\t\twritten to a configuration file in ${NOTMUCH_CONFIG} (if set)\n" + "\t\tor ${HOME}/.notmuch-config.\n" "\n" "\t\tThis configuration file will be created with descriptive\n" "\t\tcomments, making it easy to edit by hand later to change the\n" -- cgit v1.2.3