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
707df51664Peter Tripp committed on 7/24/2025, 7:39:13 PM· committed by GitHubparent13df1dd
1 file changedLine totals unavailable