diff options
Diffstat (limited to 'contrib/emacs')
-rw-r--r-- | contrib/emacs/password-store.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/emacs/password-store.el b/contrib/emacs/password-store.el index c7cc991..82c0bd6 100644 --- a/contrib/emacs/password-store.el +++ b/contrib/emacs/password-store.el @@ -397,7 +397,10 @@ Default PASSWORD-LENGTH is `password-store-password-length'." (defun password-store-rename (entry new-entry) "Rename ENTRY to NEW-ENTRY." (interactive (list (password-store--completing-read t) - (read-string "Rename entry to: "))) + (completing-read "Rename entry to: " + (mapcar + #'file-name-directory + (password-store-list))))) (message "%s" (password-store--run-rename entry new-entry t))) ;;;###autoload |