fix(cli): doom install: bootstrap other profiles if present

Like 'doom sync', have 'doom install' set up the profiles bootloader.
This commit is contained in:
Henrik Lissner 2024-09-04 14:49:20 -04:00
parent 42df7cb9fd
commit 1a5ff08da4
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -102,6 +102,10 @@ Change `$DOOMDIR' with the `--doomdir' option, e.g.
(print! (start "Installing plugins"))
(print-group! (doom-packages-ensure)))
(when (doom-profiles-bootloadable-p)
(print! (start "Initializing profile bootstrapper..."))
(call! '(profiles sync "--reload")))
(print! (start "Synchronizing default profile..."))
(print-group! (doom-profile-generate))