From 74bc871ae581b7331e5254b267be881410ded994 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Mon, 25 Nov 2019 16:49:53 +1300 Subject: [PATCH] fail gracefully in absence of offlineimap mailboxes file --- .mutt/muttrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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|" -- 2.39.5