projects
/
dotfiles.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
755cabb
)
mbox priority in inc
author
Sergey Matveev <stargrave@stargrave.org>
Sun, 25 Apr 2021 07:15:37 +0000 (10:15 +0300)
committer
Sergey Matveev <stargrave@stargrave.org>
Mon, 3 May 2021 12:13:09 +0000 (15:13 +0300)
bin/bin/inc
patch
|
blob
|
history
diff --git
a/bin/bin/inc
b/bin/bin/inc
index 90d6a64199b0c54f8c40c6585d2ebb174d3f5b40..70478b29ccffaf7c34f8e8b8ad496bbf1ddc811e 100755
(executable)
--- a/
bin/bin/inc
+++ b/
bin/bin/inc
@@
-1,8
+1,9
@@
#!/usr/bin/env zsh
+setopt EXTENDED_GLOB
res=()
cd $MAILDIR
-for mbox (
*
(/)) {
+for mbox (
mbox *~mbox
(/)) {
[[ -e $mbox/.inc ]] || continue
news=($mbox/new/*(N))
[[ ${#news} != 0 ]] && res=($res $mbox:${#news})