From: martin f. krafft Date: Mon, 25 Nov 2019 03:49:53 +0000 (+1300) Subject: fail gracefully in absence of offlineimap mailboxes file X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/74bc871ae581b7331e5254b267be881410ded994 fail gracefully in absence of offlineimap mailboxes file --- diff --git a/.mutt/muttrc b/.mutt/muttrc index 0170c22..84f4311 100644 --- a/.mutt/muttrc +++ b/.mutt/muttrc @@ -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|"