Browse Source

gitmuttpass improvement

tags/v3.1
Luke Smith 6 years ago
parent
commit
eaa224d010
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      credentials/getmuttpass

+ 3
- 3
credentials/getmuttpass View File

@@ -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)
echo set smtp_pass=\"$pass\"
echo set imap_pass=\"$pass\"
pass=$(printf '%q' $pass)
echo set smtp_pass=\'$pass\'
echo set imap_pass=\'$pass\'

Loading…
Cancel
Save