tools/password-store: version check + refactor
This commit is contained in:
parent
154e739c2c
commit
1678bf8382
2 changed files with 5 additions and 4 deletions
|
@ -31,9 +31,8 @@
|
|||
|
||||
(cond ((version< emacs-version "26")
|
||||
;; included with `pass'
|
||||
(def-package! auth-password-store
|
||||
:demand t
|
||||
:config (auth-pass-enable)))
|
||||
(require 'auth-password-store)
|
||||
(auth-pass-enable))
|
||||
|
||||
(t ;; built into Emacs 26
|
||||
(require 'auth-store-pass)
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
;; -*- no-byte-compile: t; -*-
|
||||
;;; tools/password-store/packages.el
|
||||
|
||||
(package! auth-password-store)
|
||||
(package! pass)
|
||||
(package! password-store)
|
||||
|
||||
(when (version< emacs-version "26")
|
||||
(package! auth-password-store))
|
||||
|
||||
(when (featurep! :completion helm)
|
||||
(package! helm-pass))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue