Browse Source

Merge pull request #37 from galaunay/customizable-auth-source-path

Use right store dir to ensure `pass-view-mode` activate properly
drone-build
Nicolas Petton 2 years ago
committed by GitHub
parent
commit
d71730e32f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      pass.el

+ 5
- 1
pass.el View File

@ -671,7 +671,11 @@ This function also binds a couple of handy OTP related key-bindings to
(substitute-command-keys
"Press <\\[pass-view-toggle-password]> to display & edit the password")))
(add-to-list 'auto-mode-alist '("\\.password-store/.*\\.gpg\\'" . pass-view-mode))
(add-to-list 'auto-mode-alist
(cons
(format "%s/.*\\.gpg\\'"
(expand-file-name (password-store-dir)))
'pass-view-mode))
(provide 'pass)
;;; pass.el ends here

Loading…
Cancel
Save