refactor(cli): load cli libs from doom.el
This simplifies the entry point for loading Doom (and/or its CLI framework).
This commit is contained in:
parent
50f0cebe92
commit
422baedad7
4 changed files with 18 additions and 17 deletions
|
@ -10,6 +10,21 @@
|
|||
(require 'seq)
|
||||
(require 'map)
|
||||
|
||||
;; Load these eagerly, since autoloads may not have been generated/loaded yet
|
||||
(load! "lib/process")
|
||||
(load! "lib/system")
|
||||
(load! "lib/git")
|
||||
(load! "lib/plist")
|
||||
(load! "lib/files")
|
||||
(load! "lib/debug")
|
||||
(load! "lib/print")
|
||||
;; (load! "lib/autoloads")
|
||||
|
||||
;; Ensure straight and core packages are ready to go for CLI commands.
|
||||
(require 'doom-modules)
|
||||
(require 'doom-packages)
|
||||
;; TODO (require 'doom-profiles)
|
||||
|
||||
|
||||
;;
|
||||
;;; Variables
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue