aerc-wizard

Easily auto-configure aerc and isync/mpop with safe passwords (IMAP/POP3/SMTP)
git clone https://git.awy.one/aerc-wizard
Log | Files | Refs | README | LICENSE

commit 1a0bdb12a1c9c248ed84ba3fe2cd890d04a53dd1
parent 3b833c0b7256f78dd1d72be90da1a5b89c271078
Author: awy <awy@awy.one>
Date:   Thu,  9 Apr 2026 04:12:07 +0300

notmuch: use default location

Diffstat:
Mbin/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" }