Refresh package.el first time package-install is used

This commit is contained in:
Henrik Lissner
2019-11-02 21:55:01 -04:00
parent 95c3682716
commit cae8c3f145

View File

@@ -89,6 +89,9 @@ missing) and shouldn't be deleted.")
:override #'package--save-selected-packages
(if value (setq package-selected-packages value)))
;; Refresh package.el the first time you call `package-install'
(add-transient-hook! 'package-install (package-refresh-contents))
;;; straight
(setq straight-base-dir doom-local-dir
straight-repository-branch "develop"