]> git.madduck.net Git - etc/mutt.git/blobdiff - .mutt/muttrc

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:

source multiple mailboxes files
[etc/mutt.git] / .mutt / muttrc
index ad2d8d2f8add37cc6ce1effa7b3c5c2ee0b68f56..2b54bdf140482c92e74bc8026e723bbb9f7db586 100644 (file)
@@ -4547,8 +4547,9 @@ source $my_confdir/lists
 source $my_confdir/spam
 source $my_confdir/hooks
 
 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|"
 
 set alias_file="$my_confdir/aliases"
 source "test -f $alias_file && cat $alias_file 2>/dev/null || echo unset alias_file|"