diff options
author | Luke Smith <luke@lukesmith.xyz> | 2018-03-17 10:40:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-17 10:40:02 -0700 |
commit | 7dcf2cca46a5b5702a2975e0fe1491acd33632e8 (patch) | |
tree | 84b0a5c032e3b5654ef6070130771ee272976234 /credentials/getmuttpass | |
parent | 7110fa6e24bab2391e03a31665420bac86ee77f5 (diff) | |
parent | 944d8cb128d235a028cba3b982e94369dc8a0d94 (diff) |
Merge pull request #39 from Fredo699/master
special chars in password
Diffstat (limited to 'credentials/getmuttpass')
-rwxr-xr-x | credentials/getmuttpass | 1 |
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\" |