zed icon indicating copy to clipboard operation
zed copied to clipboard

Zed no longer inherits environment vars when invoked via terminal

Open tylerFowler opened this issue 6 months ago • 2 comments

Check for existing issues

  • [X] Completed

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

tylerFowler avatar Feb 29 '24 22:02 tylerFowler

Any chance you have a similar setup to #8633?

Moshyfawn avatar Mar 01 '24 05:03 Moshyfawn

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

WeetHet avatar Mar 01 '24 07:03 WeetHet