We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
With the vterm backend, Julia REPL can't recognize the environment variables set per-buffer, like JULIA_PROJECT.
JULIA_PROJECT
.jl
julia-snail
]
ENV["JULIA_PROJECT"]
Wrap julia-snail with inheritenv-add-advice from inheritenv, like this:
inheritenv-add-advice
(inheritenv-add-advice 'julia-snail)
inheritenv provides a couple of tools for dealing with this issue: Library authors can wrap code that plans to execute processes in temporary buffers with the inheritenv macro. Users can modify commands like shell-command-to-string using the inheritenv-add-advice macro.
inheritenv provides a couple of tools for dealing with this issue:
inheritenv
shell-command-to-string
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
With the vterm backend, Julia REPL can't recognize the environment variables set per-buffer, like
JULIA_PROJECT
.Reproduction
JULIA_PROJECT
via Direnv..jl
file. The echo area shows that the env vars have been successfully set.julia-snail
.]
to see the project being a wrong one.ENV["JULIA_PROJECT"]
to confirm the fact.Workaround
Wrap
julia-snail
withinheritenv-add-advice
from inheritenv, like this:(inheritenv-add-advice 'julia-snail)
Possible solution
The text was updated successfully, but these errors were encountered: