summaryrefslogtreecommitdiff
path: root/.config/notmuch/default/hooks/pre-new
blob: ec132832f935d03647386fdeb6fb0e896029772b (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

. $HOME/.shenv

offline || movemymail

# ensure that notmuch is able to detect renames by archive-fmail-to-annex
ionice -c 3 ~/src/dotfiles/scripts/mail/expand-annex-to-fmail