Browse Source

escape special chars in password

tags/v3.1
Fred Frey 6 years ago
parent
commit
baac8f2ee4
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      credentials/getmuttpass

+ 1
- 0
credentials/getmuttpass View File

@@ -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\"

Loading…
Cancel
Save