From 832af38380ba5b6a020b034059b4bc5ff7443ded Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sat, 13 May 2023 23:50:35 -0500 Subject: uhhh --- notmuch/default/hooks/post-new | 10 +++++----- notmuch/default/hooks/pre-new | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'notmuch/default') diff --git a/notmuch/default/hooks/post-new b/notmuch/default/hooks/post-new index 744c334..b60ea78 100755 --- a/notmuch/default/hooks/post-new +++ b/notmuch/default/hooks/post-new @@ -13,10 +13,10 @@ # When I have that installed, I want to move this to ~/.config/notmuch. # Update tags based on folders -for fdir in ~/var/mail/fastmail/* ; do - if [[ $(basename "$fdir") != "INBOX" ]]; then - notmuch tag +$(basename "$fdir") -inbox -- "folder:${fdir##$HOME/var/mail/}" - fi -done +# for fdir in ~/var/mail/fastmail/* ; do +# if [[ $(basename "$fdir") != "INBOX" ]]; then +# notmuch tag +$(basename "$fdir") -inbox -- "folder:${fdir##$HOME/var/mail/}" +# fi +# done notmuch tag --batch --input="${XDG_CONFIG_HOME:-$HOME/.config}/notmuch/post-new.tags" diff --git a/notmuch/default/hooks/pre-new b/notmuch/default/hooks/pre-new index 443e3f2..73df046 100755 --- a/notmuch/default/hooks/pre-new +++ b/notmuch/default/hooks/pre-new @@ -12,4 +12,4 @@ # TODO: In notmuch v0.35, the location of this hook becomes configurable. # When I have that installed, I want to move this to ~/.config/notmuch. -/home/case/usr/scripts/syncmail +/home/acdw/usr/scripts/syncmail -- cgit 1.4.1-21-gabe81