-
-
Notifications
You must be signed in to change notification settings - Fork 272
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
Read interactive shell ENV on *nix systems #1795
Comments
Possible solution would be to add dependency on a
Reference: https://github.com/codexns/shellenv#usage |
See #1900. |
A recurring problem for *nix users is that the process environment Sublime runs in does not have everything set up as users think. Typically, for example nvm users see a different ENV per working dir.
Try to solve this and read a interactive bash shell to read the env in. Don't modify the global python env like #1509 did, instead read it keyed per
working_dir
and probably use the existingget_environment()
to "distribute".Related art: https://github.com/codexns/shellenv https://github.com/golang/sublime-config
For this to be of any use, refactor our
which
infrastructure to just useself.which
with the enhanced PATH. Finally remove the globalpaths
setting which is conceptually wrong anyway.The text was updated successfully, but these errors were encountered: