X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=mutt%2Fcrypto-autoencrypt.pl;h=08cf146bff5e94304c6d20a82c636dfb40540760;hb=7fd3f35b55ce260985f2a014615ff3cda6e4ac49;hp=6bce8cc3f7c264b9eaecff90ec8538d48da060f0;hpb=2e82ecff94dbd9d9b2374768721f3c43b69ee726;p=config%2Fdotfiles.git diff --git a/mutt/crypto-autoencrypt.pl b/mutt/crypto-autoencrypt.pl index 6bce8cc..08cf146 100755 --- a/mutt/crypto-autoencrypt.pl +++ b/mutt/crypto-autoencrypt.pl @@ -33,6 +33,6 @@ while (<$gpg>) { #next if /^uid:[idren]:/; next if not /<(.+?@.+?)>:/; - print "send-hook '~t .*$1.*' 'set crypt_autoencrypt=yes'\n"; + print "send-hook '~t $1' 'set crypt_autoencrypt=yes'\n"; } close $gpg or die $!;