From: martin f. krafft Date: Thu, 8 Mar 2018 07:41:32 +0000 (+0400) Subject: source multiple mailboxes files X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/f44295774f814c854c0cde49fc59b5a756ffcda8?ds=inline;hp=55b342a896877fd18b3c7064be4d25104d1a8eb1 source multiple mailboxes files --- 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|"