]> git.madduck.net Git - etc/mutt.git/commitdiff

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:

fail gracefully in absence of offlineimap mailboxes file
authormartin f. krafft <madduck@madduck.net>
Mon, 25 Nov 2019 03:49:53 +0000 (16:49 +1300)
committermartin f. krafft <madduck@madduck.net>
Mon, 25 Nov 2019 03:49:53 +0000 (16:49 +1300)
.mutt/muttrc

index 0170c22850bc13133c46f8afe5be437eba23f0d0..84f4311a4931cbb907a1125d24f8ab807394c86a 100644 (file)
@@ -25,7 +25,7 @@ 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|"