X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=mutt%2Fcrypto-autoencrypt.pl;h=08cf146bff5e94304c6d20a82c636dfb40540760;hb=7944bc5ce0d42f27738cc087ece4edbba02d0747;hp=6bce8cc3f7c264b9eaecff90ec8538d48da060f0;hpb=5f5c04ee3d2283f70c077f51f43ec7f73c5f5cbf;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 $!;