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

set -e

offline || movemymail

# Ensure that notmuch detects renames made by archive-fmail-to-annex.
exec ionice -c 3 ~/src/dotfiles/scripts/mail/expand-annex-to-fmail