mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
tools/password-store: version check + refactor
This commit is contained in:
@ -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))
|
||||
|
Reference in New Issue
Block a user