diff options
Diffstat (limited to '.config/notmuch/default/hooks/pre-new')
-rwxr-xr-x | .config/notmuch/default/hooks/pre-new | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.config/notmuch/default/hooks/pre-new b/.config/notmuch/default/hooks/pre-new index 2e5d58db..e9f9e1a2 100755 --- a/.config/notmuch/default/hooks/pre-new +++ b/.config/notmuch/default/hooks/pre-new @@ -1,6 +1,8 @@ #!/bin/sh +set -e + 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 +# Ensure that notmuch detects renames made by archive-fmail-to-annex. +exec ionice -c 3 ~/src/dotfiles/scripts/mail/expand-annex-to-fmail |