From 8a9c4474a12a0dd1ced9504adde91279bef2fa69 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 4 Nov 2018 15:26:06 -0500 Subject: [PATCH] update folder hook regexp. --- fleacollar.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fleacollar.sh b/fleacollar.sh index fc6611a..49d44e8 100755 --- a/fleacollar.sh +++ b/fleacollar.sh @@ -4,7 +4,6 @@ # Written by Storm Dragon: https://social.stormdragon.tk/storm # Written by Michael Taboada: https://2mb.social/mwtab # Contributions by Kyle: https://kyle.tk -# This is a 2MB Solutions project: https://2mb.solutions # Released under the terms of the WTFPL: http://wtfpl.net # Setup for gettext localization @@ -315,7 +314,7 @@ add_email_address() shred -fuzn 10 "$passwordFile" echo "source \"gpg -d ${muttHome/#$HOME/\~}/${emailAddress}.gpg|\"" >> "$muttHome/$emailAddress" add_keybinding -echo "folder-hook *$emailAddress/ 'source ${muttHome/#$HOME/\~}/$emailAddress'" >> "$muttHome/$emailAddress" +echo "folder-hook .*$emailAddress/ 'source ${muttHome/#$HOME/\~}/$emailAddress'" >> "$muttHome/$emailAddress" msgbox "$(gettext "Email address added, press enter to continue.")" }