Add +pass-get-user & +pass-get-secret (#103)
This commit is contained in:
parent
febd14a9f2
commit
ca07eb5077
1 changed files with 8 additions and 0 deletions
|
@ -19,6 +19,14 @@
|
||||||
return (cdr it))
|
return (cdr it))
|
||||||
(error "Couldn't find entry: %s" entry)))
|
(error "Couldn't find entry: %s" entry)))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
|
(defun +pass-get-user (entry)
|
||||||
|
(+pass-get-field entry +pass-user-fields))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
|
(defun +pass-get-secret (entry)
|
||||||
|
(password-store-get entry))
|
||||||
|
|
||||||
(defun +pass-ivy-action--open-url (entry)
|
(defun +pass-ivy-action--open-url (entry)
|
||||||
(if-let (url (+pass-get-field entry +pass-url-fields))
|
(if-let (url (+pass-get-field entry +pass-url-fields))
|
||||||
(and (or (string-prefix-p "http://" url)
|
(and (or (string-prefix-p "http://" url)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue