From 74706d063c2254e6147158aaf4e7c3321cfdcf3f Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 25 May 2022 01:47:20 -0700 Subject: [notmuch] Add configuration --- notmuch/.config/notmuch/default/hooks/pre-new | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 notmuch/.config/notmuch/default/hooks/pre-new (limited to 'notmuch/.config') diff --git a/notmuch/.config/notmuch/default/hooks/pre-new b/notmuch/.config/notmuch/default/hooks/pre-new new file mode 100755 index 0000000..eb7730a --- /dev/null +++ b/notmuch/.config/notmuch/default/hooks/pre-new @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +notmuch search --output=files tag:deleted | tr '\n' '\0' | xargs -0 -L 1 rm -v +mbsync -a -- cgit v1.2.3-54-g00ecf