Skip to content
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

eshell can't load .envrc via Tramp #27

Open
treed opened this issue Sep 1, 2021 · 1 comment
Open

eshell can't load .envrc via Tramp #27

treed opened this issue Sep 1, 2021 · 1 comment

Comments

@treed
Copy link

treed commented Sep 1, 2021

If I try to use 'envrc-allow` in an eshell which is on another machine via Tramp with ssh, direnv is unable to find the .envrc:

direnv: error .envrc file not found

If I use a copy of this directory locally, it successfully finds .envrc. My guess is that something with the execution of the direnv command isn't wrapping it correctly with TRAMP. I'm vaguely aware that something along these lines was improved with Emacs 27, but I'm on 27.2, so there might be additional work here?

@purcell
Copy link
Owner

purcell commented Sep 2, 2021

Yes, probably something like wbolster/emacs-direnv#68 will be needed, but it will be a bit more complex for envrc, I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants