setting NOTMUCH_CONFIG in hooks

Uwe Kleine-König uwe at kleine-koenig.org
Tue Jun 2 23:24:34 PDT 2020


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20200603/fb24bec2/attachment.sig>


More information about the notmuch mailing list