reddit / emacs

For some reason, doom sync does not work.

keysus_christ · 2022-02-02 14:21
**SOLVED** I just freshly installed doom emacs, and it loads, but doom sync does not work. I'm running Ubuntu 20.04.03 LTS. When I try doom-sync, it says: `Command 'doom' not found` I added ~/.emacs.d to my PATH, nothing changes. I have both a .emacs.d folder and a .doom.d folder in my home directory, am I supposed to have both? I don't want to try deleting one just in case it messes things up. I also tried navigating to ~/.emacs.d/bin and tried running doom sync in there, but nothing changes. Thanks. Edit: Maybe I'm adding it to PATH wrong? I'm putting `export PATH="~/.emacs.d/bin:$PATH"` in my .bashrc Edit 2: **Solved**. I didn't know I had to run `source ~/.bashrc` after editing .bashrc.
ExitOdd9012 · 2022-02-02 16:04
Try ~/.emacs.d/bin/doom sync
citizen_418 · 2022-02-02 16:39
You need to add `~/.emacs.d/bin` to your path
keysus_christ · 2022-02-02 17:29
Thank you, I made a typo writing this post, `~/.emacs.d/bin` is what I put, and there is no change unfortunately.
keysus_christ · 2022-02-02 22:15
Still doesn't work, but thank you for your response.
holgerschurig · 2022-02-05 16:17
When your doom installation is broken. Remove the .emacs.d (not the .doom.d), fetch Doom again. And then you'll have the doom executablein the bin directory. You can also use the git tool to fix your doom installation, but I suspect that this would be over the top of you currently.