summaryrefslogtreecommitdiff
path: root/credentials/getmuttpass
diff options
context:
space:
mode:
authorLuke <luke@lukesmith.xyz>2018-02-09 23:47:29 -0700
committerLuke <luke@lukesmith.xyz>2018-02-09 23:47:29 -0700
commit914a1bf4d895a986adaa240e857b95c7f49fed4c (patch)
tree0a600d747198fe6143b9986bb71969a0ea47b243 /credentials/getmuttpass
initial commit
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\"