commit 1a0bdb12a1c9c248ed84ba3fe2cd890d04a53dd1 parent 3b833c0b7256f78dd1d72be90da1a5b89c271078 Author: awy <awy@awy.one> Date: Thu, 9 Apr 2026 04:12:07 +0300 notmuch: use default location Diffstat:
| M | bin/aew | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/bin/aew b/bin/aew @@ -360,7 +360,8 @@ finalize() { } prepnotmuch() { - [ -z "$NOTMUCH_CONFIG" ] && NOTMUCH_CONFIG="$HOME/.notmuch-config" + [ -z "$NOTMUCH_CONFIG" ] && NOTMUCH_CONFIG="$HOME/.config/notmuch/default/config" + mkdir -p "${NOTMUCH_CONFIG%/*}" [ -f "$NOTMUCH_CONFIG" ] && return 0 envsubst <"$notmuchtemp" >"$NOTMUCH_CONFIG" }