fix(pass): add vertico support
This commit is contained in:
parent
9d7338d4b8
commit
e0234dcab1
1 changed files with 19 additions and 0 deletions
19
modules/tools/pass/autoload/consult.el
Normal file
19
modules/tools/pass/autoload/consult.el
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
;;; tools/pass/autoload/consult.el -*- lexical-binding: t; -*-
|
||||||
|
;;;###if (featurep! :completion vertico)
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
|
(defun +pass/consult (arg pass)
|
||||||
|
"TODO"
|
||||||
|
(interactive
|
||||||
|
(list current-prefix-arg
|
||||||
|
(consult--read (password-store-list)
|
||||||
|
:prompt "Pass: "
|
||||||
|
:sort nil
|
||||||
|
:require-match t
|
||||||
|
:category 'pass)))
|
||||||
|
(funcall (if arg
|
||||||
|
#'password-store-url
|
||||||
|
#'password-store-copy)
|
||||||
|
pass))
|
||||||
|
|
||||||
|
;; TODO Add embark actions to +pass/consult
|
Loading…
Add table
Add a link
Reference in a new issue