]> git.madduck.net Git - etc/mutt.git/blobdiff - .mutt/muttrc

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Fix matching of blockquotes
[etc/mutt.git] / .mutt / muttrc
index 7eea8cc5051336be02140df16824b93cccf09720..84f4311a4931cbb907a1125d24f8ab807394c86a 100644 (file)
@@ -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
@@ -26,6 +25,14 @@ mime_lookup application/octet-stream
 mailto_allow cc in-reply-to references subject body
 
 set my_mutt_mailboxes = "$VARDIR/mutt/mailboxes"
-source "test -f $my_mutt_mailboxes && cat $my_mutt_mailboxes|"
+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|"
+
+# 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|"