From: martin f. krafft Date: Mon, 25 Nov 2019 03:49:41 +0000 (+1300) Subject: make mp-alternative settings sourcing dependent on patch existence X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/404a4537df5dd9e1b2522b7d0b0dc480577a6ec3?ds=sidebyside;hp=824310ee8ec5b825e0339b5592cf3eacf7cf577b make mp-alternative settings sourcing dependent on patch existence --- 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|"