mirror of
https://github.com/SqrtMinusOne/password-store-completion.git
synced 2025-12-10 18:03:03 +03:00
fix: CI
This commit is contained in:
parent
9d34d0ce23
commit
e13a97d870
1 changed files with 6 additions and 6 deletions
12
ivy-pass.el
12
ivy-pass.el
|
|
@ -41,6 +41,8 @@
|
|||
;;; Code:
|
||||
(require 'ivy)
|
||||
(require 'seq)
|
||||
(require 'auth-source-pass)
|
||||
(require 'password-store)
|
||||
|
||||
(defgroup ivy-pass ()
|
||||
"An ivy-based pass frontend."
|
||||
|
|
@ -56,8 +58,6 @@
|
|||
:type 'integer
|
||||
:group 'ivy-pass)
|
||||
|
||||
(setq ivy-pass-sequences nil)
|
||||
|
||||
(defcustom ivy-pass-sequences
|
||||
'((autotype . (wait
|
||||
(field . "username")
|
||||
|
|
@ -76,7 +76,7 @@ basic actions):
|
|||
- username
|
||||
- url
|
||||
|
||||
Values are lists of symbols that determine action. Take a look at
|
||||
Values are lists of symbols that determine action. Take a look at
|
||||
`ivy-pass--get-commands' for available options."
|
||||
:group 'ivy-pass
|
||||
:options '(autotype password username url)
|
||||
|
|
@ -113,7 +113,7 @@ Call CALLBACK when the command in finished."
|
|||
"-c" command)))
|
||||
(set-process-sentinel
|
||||
proc
|
||||
(lambda (process msg)
|
||||
(lambda (process _msg)
|
||||
(pcase (process-status process)
|
||||
('exit (funcall callback))
|
||||
('fatal (error "Error in running %s" command)))))))
|
||||
|
|
@ -250,8 +250,8 @@ the current entry available via the `entry' variable."
|
|||
`(,field-name
|
||||
. ,(condition-case err
|
||||
(eval (car (read-from-string (cdr item))))
|
||||
(error (format "Error in %s: %s" field-name
|
||||
(prin1-to-string err)))))
|
||||
(error (user-error "Error in %s: %s" field-name
|
||||
(prin1-to-string err)))))
|
||||
`(,field-name . (wait (field . ,(car item)))))))
|
||||
entry)))
|
||||
(ivy-read "Field: " sequences
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue