mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-18 16:06:56 -05:00
refactor(pass): make duplicate functions obsolete
The following functions are affected: `+pass/edit-entry`, `+pass/copy-field`, `+pass/copy-secret`, `+pass/browse-url`. All of these functions have counterparts in `password-store`. Additionally, the functions in password store add git commit messages when files are changed. Questions: - Should we also deprecate the `ivy` and `consult` versions? The `password-store` versions work perfectly well here with `vertico` (not sure about `ivy` though).
This commit is contained in:
committed by
Henrik Lissner
parent
7bf918f8c6
commit
e6a4effdf6
@@ -3,7 +3,7 @@
|
||||
|
||||
;;;###autoload
|
||||
(defun +pass/ivy (arg)
|
||||
"TODO"
|
||||
"Complete and act on password store entries."
|
||||
(interactive "P")
|
||||
(ivy-read "Pass: " (password-store-list)
|
||||
:action (if arg
|
||||
@@ -15,7 +15,7 @@
|
||||
(ivy-add-actions
|
||||
'+pass/ivy
|
||||
'(("o" password-store-copy "copy password")
|
||||
("e" +pass/edit-entry "edit entry")
|
||||
("e" password-store-edit "edit entry")
|
||||
("u" +pass/copy-user "copy username")
|
||||
("b" +pass/copy-url "open url in browser")
|
||||
("f" +pass/copy-field "get field"))))
|
||||
("b" password-store-url "open url in browser")
|
||||
("f" password-store-copy-field "get field"))))
|
||||
|
Reference in New Issue
Block a user