]> git.wh0rd.org - home.git/blobdiff - .config/mutt/mail.rc
gdbinit: split up & migrate some to python
[home.git] / .config / mutt / mail.rc
index 904c427639138a15148268cd55379fb57403eb51..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/(outbox|templates|trash|\.inbox\.directory)$' -prune ')' \
-       -name cur -printf '"%h" ' | sort`
+mailboxes `~/.config/mutt/list-mailboxes.py`
 unmailboxes ~/.mail