update folder hook regexp.
This commit is contained in:
		| @@ -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.")" | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user