This commit is contained in:
2023-07-14 11:16:46 +02:00
parent 60e43d042a
commit 517bb4361d

4
rbw.el
View File

@@ -21,9 +21,11 @@
(defun rbw-get-user ()
(interactive)
(if (rbw/unlocked)
(let* ((output (rbw/list-all "--field user"))
(output (string-trim-left output "Username: ")))
(if (rbw/unlocked) (kill-new output) (message "locked vault"))))
(kill-new output))
(message "locked vault")))
(defun rbw-generate ()
(interactive)