-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
is:bugSomething isn't working as intendedSomething isn't working as intendedmodule:core:cli:doctorPertains to the `$ doom doctor` command and its outputPertains to the `$ doom doctor` command and its output
Milestone
Description
When running doom doctor I get this warning
! Detected Fish as your $SHELL
Fish (and possibly other non-POSIX shells) is known to inject garbage
output into some of the child processes that Emacs spawns. Many Emacs
packages/utilities will choke on this output, causing unpredictable
issues. To get around this, either:
- Add the following to $DOOMDIR/config.el:
(setq shell-file-name (executable-find "bash"))
- Or change your default shell to a POSIX shell (like bash or zsh)
and explicitly configure your terminal apps to use the shell you
want.
If you opt for option 1 and use one of Emacs' terminal emulators, you
will also need to configure them to use Fish, e.g.
(setq-default vterm-shell (executable-find "fish"))
(setq-default explicit-shell-file-name (executable-find "fish"))
Now, I'm not totally sure this is a concern for me, or which resolution is appropriate, but just for fun I went ahead and added
(setq shell-file-name (executable-find "bash"))
(setq-default vterm-shell (executable-find "fish"))
(setq-default explicit-shell-file-name (executable-find "fish"))
to my user config. I would expect the warning to now disappear. But it doesn't.
I imagine this is because according to https://github.com/doomemacs/doomemacs/blob/master/docs/getting_started.org#load-order, $DOOMDIR/config.el is not loaded by the cli. I imagine this is by design, and I'm not totally sure what should be done about this other than to say that it seems suboptimal.
andrewpeck and axelson
Metadata
Metadata
Assignees
Labels
is:bugSomething isn't working as intendedSomething isn't working as intendedmodule:core:cli:doctorPertains to the `$ doom doctor` command and its outputPertains to the `$ doom doctor` command and its output
Type
Projects
Status
In progress