summaryrefslogtreecommitdiff
path: root/credentials/getmuttpass
blob: f94cb82686d83dbbcce41165078ce6150b2bd725 (plain)
1
2
3
4
#!/bin/bash
pass=$(gpg2 --decrypt --quiet ~/.config/mutt/credentials/$1.gpg)
echo set smtp_pass=\"$pass\"
echo set imap_pass=\"$pass\"