Commit 6b2745fe authored by Stefan Kangas's avatar Stefan Kangas

Use PASSWORD_STORE_DIR in auth-source-pass when set

* lisp/auth-source-pass.el (auth-source-pass-filename): Initialize to
PASSWORD_STORE_DIR environment variable when set.  (Bug#29663)
parent 6297eb0f
Pipeline #3897 failed with stage
in 79 minutes
......@@ -45,7 +45,8 @@
:group 'auth-source
:version "27.1")
(defcustom auth-source-pass-filename "~/.password-store"
(defcustom auth-source-pass-filename
(or (getenv "PASSWORD_STORE_DIR") "~/.password-store")
"Filename of the password-store folder."
:type 'directory
:version "27.1")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment