aboutsummaryrefslogtreecommitdiff
path: root/dot.local-bin-sm
blob: af0edde8d7f1eb66dde847bdcb7448ec7bd54b4b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -e
set -x
mbsync -a || true
notmuch new
new=$(notmuch search --output=messages tag:new | xargs)
[ -z "$new" ] && exit
afew -tnvv
export MAILSEQ="${MBLAZE:-$HOME/.mblaze}/seq.sm"
export MBLAZE_PAGER=""
msearch -- --exclude=false $new | mthread | mseq -S | mscan -f '%u%r %3n %10d %17f %20F %t %i%S'
type mu 2> /dev/null && mu index || true