fix(cli): doom install: $DOOMDIR templates

Caused by a regression introduced in b6b755d.

Amend: b6b755dea454
This commit is contained in:
Henrik Lissner 2024-03-27 17:11:24 -04:00 committed by Yann Esposito (Yogsototh)
parent 3b40b33c90
commit ca3686afa1
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646

View file

@ -67,7 +67,7 @@ Change `$DOOMDIR' with the `--doomdir' option, e.g.
(if (file-exists-p filename)
(print! (item "Skipping %s (already exists)...") (path filename))
(print! (item "Creating %s...") (path filename))
(doom-file-write filename template)
(with-temp-file template (insert-file-contents template))
(print! (success "Done!")))))
(let ((template-dir (doom-path doom-emacs-dir "templates")))
`((,doom-module-init-file