featuregate ivy dependent autoloads for irc, pass
previously these functions would get autoloaded even when another completion framework was active
This commit is contained in:
parent
6dc6d11b83
commit
5ddf8b9b51
5 changed files with 57 additions and 66 deletions
|
@ -106,35 +106,3 @@ fields in `+pass-url-fields' is used to find the url field."
|
|||
(interactive
|
||||
(list (password-store--completing-read)))
|
||||
(+pass--open-url entry))
|
||||
|
||||
|
||||
;;
|
||||
;; Ivy interface
|
||||
|
||||
;;;###autoload
|
||||
(defun +pass/ivy (arg)
|
||||
"TODO"
|
||||
(interactive "P")
|
||||
(ivy-read "Pass: " (password-store-list)
|
||||
:action (if arg
|
||||
#'password-store-url
|
||||
#'password-store-copy)
|
||||
:caller '+pass/ivy))
|
||||
|
||||
(after! ivy
|
||||
(ivy-add-actions
|
||||
'+pass/ivy
|
||||
'(("o" password-store-copy "copy password")
|
||||
("e" +pass/edit-entry "edit entry")
|
||||
("u" +pass/copy-user "copy username")
|
||||
("b" +pass/copy-url "open url in browser")
|
||||
("f" +pass/copy-field "get field"))))
|
||||
|
||||
|
||||
;;
|
||||
;; TODO Helm interface
|
||||
|
||||
;; (defun +pass/helm ()
|
||||
;; (interactive)
|
||||
;; )
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue