summaryrefslogtreecommitdiff
path: root/credentials/getmuttpass
diff options
context:
space:
mode:
Diffstat (limited to 'credentials/getmuttpass')
-rwxr-xr-xcredentials/getmuttpass4
1 files changed, 4 insertions, 0 deletions
diff --git a/credentials/getmuttpass b/credentials/getmuttpass
new file mode 100755
index 0000000..c5ee8c2
--- /dev/null
+++ b/credentials/getmuttpass
@@ -0,0 +1,4 @@
+#!/bin/bash
+pass=$(gpg -d -q ~/.config/mutt/credentials/$1.gpg)
+echo set smtp_pass=\"$pass\"
+echo set imap_pass=\"$pass\"