Add config/private; for ~/.doom.d & ~/.config/doom support #406
A modules/ submodule will be symlinked to ~/.emacs.d/modules/private.
This commit is contained in:
parent
6d7db48dc1
commit
b3dcba54eb
7 changed files with 133 additions and 36 deletions
23
modules/config/private/README.org
Normal file
23
modules/config/private/README.org
Normal file
|
@ -0,0 +1,23 @@
|
|||
#+TITLE: :config private
|
||||
|
||||
This module enables support for an external private module and nested
|
||||
submodules, either at =~/.doom.d= (or =$XDG_CONFIG_HOME/doom= with the ~+xdg~
|
||||
flag).
|
||||
|
||||
* Table of Contents :TOC:
|
||||
- [[Module Flags][Module Flags]]
|
||||
- [[Features][Features]]
|
||||
- [[Private sub-modules][Private sub-modules]]
|
||||
|
||||
* Module Flags
|
||||
+ ~+xdg~ Tells this module to respect XDG conventions and look for your private
|
||||
config in ~$XDG_CONFIG_HOME/doom~ (falls back to =~/.config/doom=).
|
||||
|
||||
* Features
|
||||
** Private sub-modules
|
||||
Modules placed in the =modules/= subdirectory of your external config are
|
||||
symlinked to =~/.emacs.d/modules/private=, and can be activated from ~doom!~:
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(doom! :private private-module1 private-module2 ...)
|
||||
#+END_SRC
|
Loading…
Add table
Add a link
Reference in a new issue