summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-03-17 10:40:02 -0700
committerGitHub <noreply@github.com>2018-03-17 10:40:02 -0700
commit7dcf2cca46a5b5702a2975e0fe1491acd33632e8 (patch)
tree84b0a5c032e3b5654ef6070130771ee272976234
parent7110fa6e24bab2391e03a31665420bac86ee77f5 (diff)
parent944d8cb128d235a028cba3b982e94369dc8a0d94 (diff)
Merge pull request #39 from Fredo699/master
special chars in password
-rwxr-xr-xcredentials/getmuttpass1
1 files changed, 1 insertions, 0 deletions
diff --git a/credentials/getmuttpass b/credentials/getmuttpass
index f94cb82..926a342 100755
--- 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\"