tweak(pass): only suppress confirmation on quit
This commit is contained in:
parent
7d2a1ab848
commit
68893a63f9
1 changed files with 9 additions and 1 deletions
10
config.org
10
config.org
|
|
@ -2734,7 +2734,6 @@ I use the standard Unix-style password management system, [[https://www.password
|
|||
|
||||
(after! pass
|
||||
(setq pass-show-keybindings nil ; Keybindings take up too much space
|
||||
pass-suppress-confirmations t ; Quit shouldn't need a confirm step
|
||||
))
|
||||
|
||||
;; Move to right side
|
||||
|
|
@ -2783,6 +2782,15 @@ When visiting a password file, the file's buffer replaces the pass buffer, which
|
|||
:side 'bottom :size 8 :quit t :modeline t)
|
||||
#+end_src
|
||||
|
||||
Asking for confirmation on ~pass-quit~ is ridiculous, seeing as it doesn't actually do anything sensitive or permanent. The other instances of confirmation are comparatively much more important, so I won't touch those.
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(defadvice! ~/pass-quit-suppress-confirmation (orig-fn)
|
||||
:around #'pass-quit
|
||||
(let ((pass-suppress-confirmations t))
|
||||
(funcall orig-fn)))
|
||||
#+end_src
|
||||
|
||||
* Org
|
||||
|
||||
#+call: confpkg()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue