gitmuttpass improvement
This commit is contained in:
parent
26adb70a24
commit
eaa224d010
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
pass=$(gpg2 --decrypt --quiet ~/.config/mutt/credentials/$1.gpg)
|
pass=$(gpg2 --decrypt --quiet ~/.config/mutt/credentials/$1.gpg)
|
||||||
pass=$(printf "%q" $pass)
|
pass=$(printf '%q' $pass)
|
||||||
echo set smtp_pass=\"$pass\"
|
echo set smtp_pass=\'$pass\'
|
||||||
echo set imap_pass=\"$pass\"
|
echo set imap_pass=\'$pass\'
|
||||||
|
Loading…
Reference in New Issue
Block a user