diff options
| author | Thomas Schneider <qsx@chaotikum.eu> | 2020-04-17 15:42:56 +0200 |
|---|---|---|
| committer | Thomas Schneider <qsx@chaotikum.eu> | 2020-04-17 15:42:56 +0200 |
| commit | b5b88e84f051aa0b2329a229c98d2e2d7a748ab8 (patch) | |
| tree | 5e9af9aaf7f9afb67ec8aa218a1eb2dd50ded9a7 /dot.local-bin-sm | |
| parent | 6d68935a4580864911ba5745a1551bae9d85801d (diff) | |
| parent | 15435b0f800ba61d955f7ebe54c48a21777f2fb4 (diff) | |
Merge remote-tracking branch 'origin/main' into neptun
Diffstat (limited to 'dot.local-bin-sm')
| -rwxr-xr-x | dot.local-bin-sm | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/dot.local-bin-sm b/dot.local-bin-sm index af0edde..618392e 100755 --- a/dot.local-bin-sm +++ b/dot.local-bin-sm @@ -3,10 +3,13 @@ set -e set -x mbsync -a || true notmuch new +[ -d ~/.maildir/GMail ] && (cd ~/.maildir/GMail && gmi sync) new=$(notmuch search --output=messages tag:new | xargs) [ -z "$new" ] && exit -afew -tnvv +notmuch config set query.new "$new" +notmuch tag -new -- tag:new and folder:GMail/mail +nm-tagger 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 +msearch -- --exclude=false query:new | mthread | mseq -S | mscan -f '%u%r %3n %10d %17f %20F %t %i%S' +type mu > /dev/null && mu index || true |
