-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
__DOOMSTEP envvar missing #6615
Comments
This appears to be a windows issue. How are you running The |
This is indeed on Windows, the standard Scoop installation which is running natively within Windows (no Git Bash, Cygwin or WSL). I've tried launching
I'm thinking that it doesn't really matter what shell I'm calling I tried adding some simple |
None of these are POSIX shells. Are you able to install Git bash and try it there instead?
I could see that happening, yeah. What's more, doom.cmd hasn't been updated to reflect recent (major) changes to Doom's CLI (causing #6620), and I know too little about batch scripting to do so myself. Git bash may be unavoidable for the time being. |
I can confirm that using Git Bash works. If/when I have time, I might have a look at see if I can get |
@hlissner should we set ;; Emacs doesn't play well with fish
(setq shell-file-name "/bin/bash") |
Trying to get doom running on SDF, a NetBSD shell server. When trying to run
While the default shell used here is |
I have been working around this issue by using Git Bash which works fine. I have just tried it (commit history includes both db2534a and 0ecf69a) and unfortunately While I don't necessarily expect NuShell to work perfectly given it is still quite new, it would be nice to have PowerShell working on Windows. |
I think the advice given in this issue (primarily to use git-bash should be in the getting started documentation. I installed using Windows and Scoop, and it took me a long time to search the right thing to find these issues and get a successful install, but using git bash did the trick seamlessly. |
What did you expect to happen?
For various
bin/doom
commands to not exit with failureWhat actually happened?
A lot of
bin/doom
commands fail with the following error message:Describe your attempts to resolve the issue
I created a fresh new installation, and the error can be reproduced without needing to install any doom package. I initially thought it was related to having a
literate
config as the above error preventeddoom sync
from working; but my attempts to make a minimal example (below) show that it happens even before even runningdoom install
.Steps to reproduce
HOME
to it.git clone https://github.com/doomemacs/doomemacs.git $HOME/.emacs.d
cd $HOME/.emacs.d/
bin/doom help
and I get the above error.
I have tried also using
bin/doom.cmd
instead ofbin/doom
as this is on Windows, but the error is still there.Defining a new environment variable
__DOOMSTEP
(to any value) seems to offer a temporary fix.System Information
bin/doom info
Emacs with installed with
scoop install emacs
on Windows.The text was updated successfully, but these errors were encountered: