mutt-wizard

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 31589ada9260c83b4229a48e1d547e681d71e097
parent 213afe1e8f84c0753d6d492c7997dce3dd87645b
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Tue,  4 Mar 2025 18:49:51 +0100

use lmdb if available, close #950

Diffstat:
Mbin/mw | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/bin/mw b/bin/mw @@ -91,6 +91,7 @@ prepmutt() { ! grep -q "^source.*mutt-wizard.muttrc" "$muttrc" && echo "source $muttshare/mutt-wizard.muttrc" >>"$muttrc" ! grep "^source.*.muttrc" "$muttrc" | grep -qv "$muttshare/mutt-wizard.muttrc" && echo "source $accdir/$fulladdr.muttrc" >>"$muttrc" echo "macro index,pager i$idnum '<sync-mailbox><enter-command>source $accdir/$fulladdr.muttrc<enter><change-folder>!<enter>;<check-stats>' \"switch to $fulladdr\"" >>"$muttrc" + neomutt -v | grep -q lmdb && ! grep -q "^set header_cache_backend.*lmdb" "$muttrc" && echo "set header_cache_backend = \"lmdb\"" >>"$muttrc" } getprofiles() {