doomemacs/modules/tools/pass/autoload/consult.el
Henrik Lissner 6c0881c684
nit: revise TODO/FIXME/HACK/REVIEW/etc in comments
Some were outdated, some were incorrectly labeled, others were already
completed, some were missing... Gotta fix them all.

Also, in :ui hl-todo, there are comments that describe how Doom uses
each of these annotations; those have been updated.
2026-03-02 19:45:09 -05:00

21 lines
620 B
EmacsLisp

;;; tools/pass/autoload/consult.el -*- lexical-binding: t; -*-
;;;###if (modulep! :completion vertico)
;;;###autoload
(defun +pass/consult (arg pass)
"TODO"
(interactive
(list current-prefix-arg
(progn
(require 'consult)
(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