Fix doom quickstart
not installing packages
If the user had no ~/.doom.d/init.el to begin with, and never reads it after it's been created (by `doom quickstart`), then Doom can't possibly know what modules to install packages for, therefore no packages get installed!
This commit is contained in:
parent
d3a12a3914
commit
defd60b24b
2 changed files with 7 additions and 4 deletions
|
@ -59,6 +59,10 @@ packages and regenerates the autoloads file."
|
|||
(funcall fn))
|
||||
(print! (green "Done!")))))))
|
||||
|
||||
;; In case no init.el was present the first time `doom-initialize-modules' was
|
||||
;; called in core.el (e.g. on first install)
|
||||
(doom-initialize-modules)
|
||||
|
||||
;; Ask if Emacs.app should be patched
|
||||
(if (member "--no-env" args)
|
||||
(print! (yellow "Not generating envvars file, as requested"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue