From 68893a63f9a7e8baadd80e8a251d9ea9fe270174 Mon Sep 17 00:00:00 2001 From: Kiana Sheibani Date: Wed, 4 Feb 2026 16:35:21 -0500 Subject: [PATCH] tweak(pass): only suppress confirmation on quit --- config.org | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/config.org b/config.org index eb51145..61d8f5b 100644 --- a/config.org +++ b/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()