summaryrefslogtreecommitdiff
path: root/credentials/getmuttpass
blob: ee25584e28f6dfa8e09c4dc6180b3afd28b2bd48 (plain)
1
2
3
4
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\"