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

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