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 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'notmuch/default/hooks/post-new') 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" -- cgit 1.4.1-21-gabe81