summaryrefslogtreecommitdiff
path: root/emacs.org
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-08-15 01:07:01 +0300
committerThanos Apollo <[email protected]>2023-08-15 01:07:01 +0300
commit544b9969a559c62bba2b1ed853602f83dee1b6d3 (patch)
treecc4da7a3ffb103db0d55dbdec54917b780f8705d /emacs.org
parent108f399d2e4684078819dfb10c34d357cc129bba (diff)
Add smtp-get-pass
Diffstat (limited to 'emacs.org')
-rwxr-xr-xemacs.org5
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs.org b/emacs.org
index 66d1092..35fb9c0 100755
--- a/emacs.org
+++ b/emacs.org
@@ -252,6 +252,11 @@ Generate a random password between 20 and 40 characters
("GENERATE" #'password-store-generate))))
(funcall action (completing-read "Search: " (password-store-list)))
(delete-frame)))))))
+
+ (defun smtp-get-pass ()
+ "Get password for smtp"
+ (interactive)
+ (password-store-copy-field "fastmail.com/[email protected]" "smtp"))
#+end_src
** Keybindings
#+begin_src emacs-lisp