Merge pull request #39 from Fredo699/master

special chars in password
This commit is contained in:
Luke Smith 2018-03-17 10:40:02 -07:00 committed by GitHub
commit 7dcf2cca46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,5 @@
#!/bin/bash
pass=$(gpg2 --decrypt --quiet ~/.config/mutt/credentials/$1.gpg)
pass=$(printf "%q" $pass)
echo set smtp_pass=\"$pass\"
echo set imap_pass=\"$pass\"