aboutsummaryrefslogtreecommitdiffstats
path: root/notmuch/.config
diff options
context:
space:
mode:
authorGravatar Tom Willemse2022-05-25 01:47:20 -0700
committerGravatar Tom Willemse2022-05-25 01:47:20 -0700
commit74706d063c2254e6147158aaf4e7c3321cfdcf3f (patch)
tree96280e8c91193d714276ae79d073c78742f051d5 /notmuch/.config
parent2c8585082adf4e63141400c1e21c55e34e6e5178 (diff)
downloadnew-dotfiles-74706d063c2254e6147158aaf4e7c3321cfdcf3f.tar.gz
new-dotfiles-74706d063c2254e6147158aaf4e7c3321cfdcf3f.zip
[notmuch] Add configuration
Diffstat (limited to 'notmuch/.config')
-rwxr-xr-xnotmuch/.config/notmuch/default/hooks/pre-new4
1 files changed, 4 insertions, 0 deletions
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