doomemacs/lisp
Henrik Lissner 90dae25940
fix(cli): ensure $EMACSDIR/lisp/cli is in $DOOMPATH
If $DOOMPATH is malformed or set to a value that does not contain a
valid path to Doom's CLI library in $EMACSDIR/lisp/cli (see #7608),
bin/doom no longer functions, emitting "a subcommand is required"
errors.

This change ensures that the CLI library is always the last (implicit)
element in doom-cli-load-path, and ensures $DOOMPATH is never written to
the user's envvar file (in case they try to use bin/doom from inside a
terminal within a Doom Emacs session), which should ensure users -- at
least -- never find themselves stranded without the Doom CLI.

Fix: #7608
Co-authored-by: bpizzi <bpizzi@users.noreply.github.com>
2024-02-07 17:24:24 -05:00
..
cli fix(cli): ensure $EMACSDIR/lisp/cli is in $DOOMPATH 2024-02-07 17:24:24 -05:00
lib refactor: s/doom-modules-dirs/doom-module-load-path/ 2024-02-05 17:21:20 -05:00
demos.org refactor(emacs-lisp): elisp-demos: reorganize Doom demos 2024-02-04 17:54:29 -05:00
doom-cli.el fix(cli): ensure $EMACSDIR/lisp/cli is in $DOOMPATH 2024-02-07 17:24:24 -05:00
doom-editor.el tweak: helpful-set-variable-function: use setq! 2023-11-23 17:38:22 -05:00
doom-keybinds.el refactor!: deprecate IS-* OS constants 2024-02-04 17:54:29 -05:00
doom-lib.el fix(lib): appease byte-compiler-sama 2024-01-24 12:38:41 -05:00
doom-modules.el fix: void-variable doom-modules-load-path error 2024-02-06 23:59:30 -05:00
doom-packages.el nit: general reformatting & minor comment revision 2023-09-11 23:56:21 +02:00
doom-profiles.el refactor: s/doom-modules-dirs/doom-module-load-path/ 2024-02-05 17:21:20 -05:00
doom-projects.el refactor!: deprecate IS-* OS constants 2024-02-04 17:54:29 -05:00
doom-start.el refactor!: deprecate IS-* OS constants 2024-02-04 17:54:29 -05:00
doom-ui.el fix: premature use of emoji fontset in <=28.1 2023-11-23 18:17:52 -05:00
doom.el nit: fix s/make/bake typo 2024-02-04 17:59:31 -05:00
init.el fix: add :depth field to modules 2022-09-24 18:46:21 +02:00
packages.el refactor: remove all-the-icons 2024-02-06 16:09:32 -05:00