zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
47.23k stars 2.73k forks source link

Zed no longer inherits environment vars when invoked via terminal #8638

Open tylerFowler opened 6 months ago

tylerFowler commented 6 months ago

Check for existing issues

Describe the feature

At one point invoking the zed CLI command from a shell would cause Zed to inherit the entire environment. This is particularly important for my company's Golang setup, and completely breaks Golang support for my organization as we have special Go environment vars per project repo.

I believe this would be the expected behavior of invoking Zed from a terminal and has precedent from editors like Atom and of course vim.

If applicable, add mockups / screenshots to help present your vision of the feature

No response

Moshyfawn commented 6 months ago

Any chance you have a similar setup to #8633?

WeetHet commented 6 months ago

Any chance you have a similar setup to #8633?

No, this is probably different, that one is about some particular shells and starting zed not from cli