mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-10 19:23:03 +03:00
20 lines
484 B
EmacsLisp
20 lines
484 B
EmacsLisp
;;; -*- lexical-binding: t -*-
|
|
(use-package pass
|
|
:straight t
|
|
:commands (pass)
|
|
:init
|
|
(my-leader-def "ak" #'pass)
|
|
:config
|
|
(setq pass-show-keybindings nil))
|
|
|
|
(defun my/password-store-get (entry)
|
|
(if-let ((res (password-store-get entry)))
|
|
res
|
|
(my/password-store-get entry)))
|
|
|
|
(defun my/password-store-get-field (entry field)
|
|
(if-let (field (password-store-get-field entry field))
|
|
field
|
|
(my/password-store-get-field entry field)))
|
|
|
|
(provide 'sqrt-pass)
|