Comments (3)
I can't reproduce Doom not picking up the $PATH from its containing environment without:
- Running
doom env
from within Emacs (in vterm, eshell, etc), - Making the
emacs
executable a shim script with a shebang line invoking an interactive or sandboxed shell, - Running
doom env
from inside a directory managed with direnv, or a sub-shell spawned by nix-shell (though,env
would've caught this).
Try removing the env file by hand before running doom env
again: rm -f ~/.emacs.d/.local/env; doom env
from doomemacs.
@hlissner My emacs is indeed a shim script:
❯ cat /home/x/.junest/usr/bin_wrappers/emacs
#!/usr/bin/env bash
eval "junest_args_array=(${JUNEST_ARGS:-ns})"
junest "${junest_args_array[@]}" -- $(basename ${0}) "$@"
What should I do?
junest
might be the problem ... I don't really know how junest works. I use it to install emacs without having root access.
Trying various combinations of junest and env:
env -i HOME="$HOME" ${commands[junest]} $SHELL -ic env
env -i HOME="$HOME" ${commands[junest]} ns -- $SHELL -ic env
These still catch my PATH correctly ...
from doomemacs.
@hlissner When I use exec-path-from-shell
, the PATH is captured correctly.
(require 'exec-path-from-shell)
(exec-path-from-shell-initialize)
from doomemacs.
Related Issues (20)
- org-download-delete does not work HOT 4
- `doom upgrade {-j,--jobs}` causes `void-variable: num` error HOT 1
- doom sync: Script was abruptly aborted, leaving Doom in an incomplete state! HOT 2
- align-regexp not working as it should HOT 1
- `wrong-numbe-of-arguments` error from backported `find-sibling-file` command HOT 6
- corfu: latest bump to evil breaks minibuffer completion HOT 4
- Yasnippet placeholders not cycling through in the GUI (in C++ and Corfu) HOT 1
- `doom sync -u` deletes `$EMACSDIR/bin` and leaves Doom in broken state HOT 1
- Emacs daemon crash when set-fontset-font is called after a dead X server frame HOT 4
- Error: `which-key-mode’ can’t be used with ‘helm-descbinds-mode’` HOT 1
- `MODE-local-vars-hook` in org mode HOT 1
- Keybinding conflict: org-mode + evil-multiedit
- Ligature rendering sometimes renders with extra spacing HOT 1
- problem with savehist-mode causing `doom-first-input-hook` to throw an error HOT 2
- doom-module-from-path couldn't handle symbolic links correctly. HOT 3
- setq-default not working for mode-line HOT 4
- anaconda-mode activates despite using (lsp +eglot)
- Void function 'envrc-global-mode-enable-in-buffers' on latest Emacs30
- evil-org-mode-map unbound HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from doomemacs.