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

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:

Fix matching of blockquotes
[etc/mutt.git] / .mutt / list-mailboxes
index c65c47c52d08b94681f6d39891644aeedf2f1a1e..497a253c5f5d638000bc33ba65c3547dc28be00b 100755 (executable)
@@ -2,5 +2,5 @@
 
 find "$1/" -type d -name cur -printf '%h\n' | \
   sed -e "s,^$1/,=,g" -e "s,^$1\$,$2," | \
 
 find "$1/" -type d -name cur -printf '%h\n' | \
   sed -e "s,^$1/,=,g" -e "s,^$1\$,$2," | \
-  egrep -v '^=(spool|discard|retrain(/(sp|h)am)?)$' | \
+  egrep -v '^=(sp(ool|am)|discard|retrain(/(sp|h)am)?)$' | \
   sort | xargs echo mailboxes
   sort | xargs echo mailboxes