update folder hook regexp.
This commit is contained in:
parent
5941be5d1f
commit
8a9c4474a1
@ -4,7 +4,6 @@
|
|||||||
# Written by Storm Dragon: https://social.stormdragon.tk/storm
|
# Written by Storm Dragon: https://social.stormdragon.tk/storm
|
||||||
# Written by Michael Taboada: https://2mb.social/mwtab
|
# Written by Michael Taboada: https://2mb.social/mwtab
|
||||||
# Contributions by Kyle: https://kyle.tk
|
# 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
|
# Released under the terms of the WTFPL: http://wtfpl.net
|
||||||
|
|
||||||
# Setup for gettext localization
|
# Setup for gettext localization
|
||||||
@ -315,7 +314,7 @@ add_email_address()
|
|||||||
shred -fuzn 10 "$passwordFile"
|
shred -fuzn 10 "$passwordFile"
|
||||||
echo "source \"gpg -d ${muttHome/#$HOME/\~}/${emailAddress}.gpg|\"" >> "$muttHome/$emailAddress"
|
echo "source \"gpg -d ${muttHome/#$HOME/\~}/${emailAddress}.gpg|\"" >> "$muttHome/$emailAddress"
|
||||||
add_keybinding
|
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.")"
|
msgbox "$(gettext "Email address added, press enter to continue.")"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user