summaryrefslogtreecommitdiff
path: root/lisp/auth-source-pass.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/auth-source-pass.el')
-rw-r--r--lisp/auth-source-pass.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/auth-source-pass.el b/lisp/auth-source-pass.el
index c45c782c27c..524a72792cf 100644
--- a/lisp/auth-source-pass.el
+++ b/lisp/auth-source-pass.el
@@ -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")