~gpanders/dotfiles

ref: c8e63bac959db19c138dcc3198a56514f0b444ff dotfiles/.config/offlineimap/notmuch.sh -rwxr-xr-x 280 bytes
c8e63bacGreg Anders Manage dotfiles directly in home directory 1 year, 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

notmuch new
notmuch tag +inbox -- folder:/INBOX/
notmuch tag +archive -- folder:/Archive/
notmuch tag +sent -- folder:/Sent/
notmuch tag +trash -archive -- folder:/Trash/

# Remove new tag from anything not in the inbox
notmuch tag -unread -inbox -- NOT folder:/INBOX/