From: martin f. krafft Date: Tue, 30 Aug 2011 05:33:55 +0000 (+0200) Subject: run notmuch in hook X-Git-Url: https://git.madduck.net/etc/offlineimap.git/commitdiff_plain/2cb89d7d88d76359b7d37780e02dc1750fff1fe4?ds=sidebyside;pf=etc run notmuch in hook --- diff --git a/.bin/offlineimap b/.bin/offlineimap index d440e24..82428cd 100755 --- a/.bin/offlineimap +++ b/.bin/offlineimap @@ -19,7 +19,3 @@ fi ret=0 /usr/bin/offlineimap "$@" || exit $? - -if [ -x "$(command -v notmuch)" ]; then - notmuch new || exit $? -fi diff --git a/.offlineimaprc b/.offlineimaprc index d8fcc2e..9f318fa 100644 --- a/.offlineimaprc +++ b/.offlineimaprc @@ -22,12 +22,14 @@ localrepository = local-main remoterepository = madduck.net autorefresh = 15 quick = 16 +postsynchook = ionice -c3 nice -20 notmuch new [Account madduck.net-bulk] localrepository = local-main remoterepository = madduck.net-bulk autorefresh = 15 quick = 16 +postsynchook = ionice -c3 nice -20 notmuch new [Repository local-main] type = Maildir