commit 7dcf2cca46a5b5702a2975e0fe1491acd33632e8
parent 7110fa6e24bab2391e03a31665420bac86ee77f5
Author: Luke Smith <luke@lukesmith.xyz>
Date: Sat, 17 Mar 2018 10:40:02 -0700
Merge pull request #39 from Fredo699/master
special chars in password
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/credentials/getmuttpass b/credentials/getmuttpass
@@ -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\"