]> git.madduck.net Git - etc/mutt.git/commitdiff

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:

trailing slash to maildir in case it's a symlink
authormartin f. krafft <madduck@madduck.net>
Thu, 8 Mar 2018 08:45:12 +0000 (12:45 +0400)
committermartin f. krafft <madduck@madduck.net>
Thu, 8 Mar 2018 08:45:12 +0000 (12:45 +0400)
.mutt/list-mailboxes

index 5e2460cf45a653b8cb0b3dcecc5bf91222b03c14..c65c47c52d08b94681f6d39891644aeedf2f1a1e 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
 #!/bin/sh
 
-find "$1" -type d -name cur -printf '%h\n' | \
+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)?)$' | \
   sort | xargs echo mailboxes
   sed -e "s,^$1/,=,g" -e "s,^$1\$,$2," | \
   egrep -v '^=(spool|discard|retrain(/(sp|h)am)?)$' | \
   sort | xargs echo mailboxes