From f44295774f814c854c0cde49fc59b5a756ffcda8 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 8 Mar 2018 11:41:32 +0400 Subject: [PATCH] source multiple mailboxes files --- .mutt/muttrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.mutt/muttrc b/.mutt/muttrc index ad2d8d2..2b54bdf 100644 --- a/.mutt/muttrc +++ b/.mutt/muttrc @@ -4547,8 +4547,9 @@ source $my_confdir/lists source $my_confdir/spam source $my_confdir/hooks -set my_mailboxes = `ls ~/.var/offlineimap/mailboxes 2>/dev/null || echo /dev/null` -source $my_mailboxes +set my_offlineimap_mailboxes = "$VARDIR/offlineimap/mailboxes" +set my_mutt_mailboxes = "$VARDIR/mutt/mailboxes" +source "cat $my_offlineimap_mailboxes $my_mutt_mailboxes 2>/dev/null|" set alias_file="$my_confdir/aliases" source "test -f $alias_file && cat $alias_file 2>/dev/null || echo unset alias_file|" -- 2.39.5