summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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