double quotes in muttrc

This commit is contained in:
Luke Smith 2018-04-14 16:05:59 -07:00
parent eaa224d010
commit 93dfd9c2e1

View File

@ -1,5 +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\'
echo set smtp_pass=\"$pass\"
echo set imap_pass=\"$pass\"