# Fix environment loading with tcsh \(\#35054\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/707df516647f07c05e0c04e67ee032279b3d8afa)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 707df516647f07c05e0c04e67ee032279b3d8afa

Requested commit: 707df516647f07c05e0c04e67ee032279b3d8afa

Commit: 707df516647f07c05e0c04e67ee032279b3d8afa

Tree: aad138bb1da8bd72802731a381b37fc8139f84c9

Author: Peter Tripp

Committer: GitHub

## Message

```
Fix environment loading with tcsh (#35054)

Closes https://github.com/zed-industries/zed/issues/34973

Fixes an issue where environment variables were not loaded when the
user's shell was tcsh and instead a file named `0` was dumped in the
current working directory with a copy of your environment variables as
json.

Follow-up to: 
- https://github.com/zed-industries/zed/pull/35002
- https://github.com/zed-industries/zed/pull/33599

Release Notes:

- Fixed a regression with loading environment variables in nushell
```

## Parents

- [13df1dd5fff2cb8ad22c5c70595b0076da0e1c6d](https://git.cafe/gitcafe/zed/commit/13df1dd5fff2cb8ad22c5c70595b0076da0e1c6d?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/707df516647f07c05e0c04e67ee032279b3d8afa?format=markdown)
