Skip to content

Commit e0234dc

Browse files
committed
fix(pass): add vertico support
1 parent 9d7338d commit e0234dc

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
;;; tools/pass/autoload/consult.el -*- lexical-binding: t; -*-
2+
;;;###if (featurep! :completion vertico)
3+
4+
;;;###autoload
5+
(defun +pass/consult (arg pass)
6+
"TODO"
7+
(interactive
8+
(list current-prefix-arg
9+
(consult--read (password-store-list)
10+
:prompt "Pass: "
11+
:sort nil
12+
:require-match t
13+
:category 'pass)))
14+
(funcall (if arg
15+
#'password-store-url
16+
#'password-store-copy)
17+
pass))
18+
19+
;; TODO Add embark actions to +pass/consult

0 commit comments

Comments
 (0)