]> git.wh0rd.org - home.git/blobdiff - .config/mutt/mail.rc
mutt: update settings for newer release
[home.git] / .config / mutt / mail.rc
index 52e18ac3eef75d4a2fbf35ba41e84dc92f1157b2..1a7e2f2d6074aee8d784541360386f035cca1820 100644 (file)
@@ -8,8 +8,5 @@ set postponed = +/drafts
 set header_cache = ~/.cache/mutt/header
 set message_cachedir = ~/.cache/mutt/message
 
-mailboxes `find ~/.mail/ \
-       -regextype posix-extended -type d \
-       '(' -regex '.*/(cur|new|tmp)$' -o -regex '.*/\.mail/(drafts|outbox|templates|\.inbox\.directory)$' -prune ')' \
-       -name cur -printf '"%h" ' 2>/dev/null | sort`
+mailboxes `~/.config/mutt/list-mailboxes.py`
 unmailboxes ~/.mail