Uwe Kleine-König <u...@kleine-koenig.org> writes:

> 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 :-)
>

It's not the same thing, but seems to relate to your use case. There is
some new and mostly untested support for a "NOTMUCH_PROFILE" environment
variable that might help. Or it might have the same issue with
propagation to hooks. See notmuch-config(1) in master / 0.32~rc1.
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org

Reply via email to