From 7a5a588385e332f9e97761a084b7608f305c712d Mon Sep 17 00:00:00 2001 From: Kiana Sheibani Date: Wed, 22 Oct 2025 13:28:48 -0400 Subject: [PATCH] compat: point `pass` to the correct store directory --- config.org | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config.org b/config.org index 5935e9e..95fc012 100644 --- a/config.org +++ b/config.org @@ -1184,7 +1184,14 @@ The =auth-source-pass= package lets you use [[*Password Management][pass]] as a #+begin_src emacs-lisp (require 'auth-source-pass) (setq auth-sources '(password-store "~/.authinfo.gpg") + auth-source-pass-filename + (or (getenv "PASSWORD_STORE_DIR") + (and (file-readable-p "~/.password-store") "~/.password-store") + "~/.local/share/password-store") auth-source-cache-expiry nil) + +;; Instantiate this so that child processes can inherit it +(setenv "PASSWORD_STORE_DIR" (expand-file-name auth-source-pass-filename)) #+end_src ** Bindings