X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/e9c5b68a53b52f039c99c388b12d64607442948a..824310ee8ec5b825e0339b5592cf3eacf7cf577b:/.mutt/muttrc?ds=sidebyside diff --git a/.mutt/muttrc b/.mutt/muttrc index 5ef2b95..90bd690 100644 --- a/.mutt/muttrc +++ b/.mutt/muttrc @@ -13,7 +13,6 @@ source $my_confdir/keybindings source $my_confdir/lists source $my_confdir/spam source $my_confdir/hooks -source $my_confdir/sidebar auto_view text/html text/calendar #auto_view application/x-gunzip application/x-tar-gz application/x-tar application/x-gtar @@ -31,3 +30,7 @@ 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|"