From 404a4537df5dd9e1b2522b7d0b0dc480577a6ec3 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Mon, 25 Nov 2019 16:49:41 +1300 Subject: [PATCH 1/1] make mp-alternative settings sourcing dependent on patch existence --- .mutt/muttrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.mutt/muttrc b/.mutt/muttrc index 90bd690..0170c22 100644 --- a/.mutt/muttrc +++ b/.mutt/muttrc @@ -29,8 +29,10 @@ source "test -f $my_mutt_mailboxes && cat $my_mutt_mailboxes|" source "test -f $alias_file && cat $alias_file 2>/dev/null || echo unset alias_file|" -source "mutt -DF/dev/null | grep -q send_multipart_alternative && cat $my_confdir/multipart-alternative|" - # only source sidebar settings if the sidebar patch exist, i.e. default is # non-zero source "test -z $sidebar_visible || cat $my_confdir/sidebar|" + +# only source multipart/alternative settings if the multipart/alternative +# patch exist, i.e. default is non-zero +source "test -z $send_multipart_alternative || cat $my_confdir/multipart-alternative|" -- 2.39.5