setting NOTMUCH_CONFIG in hooks

Subject:setting NOTMUCH_CONFIG in hooks

Date:Wed, 3 Jun 2020 08:24:34 +0200

To:notmuch@notmuchmail.org

Cc:

From:Uwe Kleine-König


Hello,

when I run

	notmuch --config=$HOME/.notmuch-config-work new

NOTMUCH_CONFIG isn't set when the hooks are running. This would however
be quite useful such that e.g. afew uses the right database. Of course I
could do

	NOTMUCH_CONFIG=$HOME/.notmuch-config-work notmuch new

instead, but then it would be consequent to drop the --config option
from notmuch completely :-)

Best regards
Uwe

signature.asc (application/pgp-signature)
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: