Doom-emacs: conside change private-repo to seperate directory

Created on 5 Feb 2018  ·  3Comments  ·  Source: hlissner/doom-emacs

Observed behavior

private repo include private init.el and some private module, thou if I add private module I need link to .emacs.d/... manually. and if I want try anothers config ,then I shoud unlink all my private repo init.el and module dir. then link others all assets. when restore then repeate do again .it's inconvenient.

Expected behavior

please conside seperate these private file in one directory like spacemacs for VC and switch handly.

new resolved

Most helpful comment

As of b3dcba5, if you have :config private enabled, you can now put your private module in ~/.doom.d (and sub-modules in ~/.doom.d/modules/).

If you'd like to adhere to XDG conventions, use the +xdg flag: (doom! :config (private +xdg)), then it'll be ~/.config/doom instead.

It's still a little experimental. Let me know if it gives you trouble.

All 3 comments

upvote.

As of b3dcba5, if you have :config private enabled, you can now put your private module in ~/.doom.d (and sub-modules in ~/.doom.d/modules/).

If you'd like to adhere to XDG conventions, use the +xdg flag: (doom! :config (private +xdg)), then it'll be ~/.config/doom instead.

It's still a little experimental. Let me know if it gives you trouble.

thanks for code, it works fine

Was this page helpful?
0 / 5 - 0 ratings