fix(cli): doom install: load $DOOMDIR/cli.el too
In case the user's put some configuration in cli.el that could be relevant to eventual profile generation.
This commit is contained in:
parent
1a5ff08da4
commit
a940ac5614
1 changed files with 2 additions and 1 deletions
|
@ -81,8 +81,9 @@ Change `$DOOMDIR' with the `--doomdir' option, e.g.
|
|||
. ,(file-name-with-extension (doom-path template-dir doom-module-packages-file)
|
||||
".example.el")))))))
|
||||
|
||||
;; In case no init.el was present the first time it was loaded.
|
||||
;; In case no init.el (or cli.el) was present before the config was deployed
|
||||
(doom-load (doom-path doom-user-dir doom-module-init-file) t)
|
||||
(doom-load (doom-path doom-user-dir "cli.el") t)
|
||||
|
||||
;; Ask if user would like an envvar file generated
|
||||
(if (eq envfile? :no)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue