mutt-wizard/credentials/getmuttpass
2018-04-12 09:37:05 -07:00

6 lines
161 B
Bash
Executable File

#!/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\'