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:
parent
42df7cb9fd
commit
1a5ff08da4
1 changed files with 4 additions and 0 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue