zed/crates/util/src
Tim Vilgot Mikael Fredenberg bb6e8053d3
windows: Don't load login shell environment (#22681)
I'm consistently getting the following error on startup:

```
2025-01-05T14:45:43.4602865+01:00 [ERROR] SHELL environment variable is not assigned so we can't source login environment variables

Caused by:
    environment variable not found
```

The source function, `load_login_shell_environment`, assumes a UNIX
environment and should therefore not be called on Windows. (Unless you
are using git bash?)

Release Notes:

* N/A
2025-01-07 19:52:47 +00:00
..
test Fix Clippy warnings in util crate (#8721) 2024-03-02 13:06:35 -05:00
arc_cow.rs Add support for git branches on remote projects (#19755) 2024-10-27 15:50:54 -07:00
command.rs windows: Set CREATE_NO_WINDOW for commands (#18447) 2024-11-20 16:52:38 -08:00
fs.rs chore: Clean up util dependencies. (#9247) 2024-03-13 00:10:49 +01:00
paths.rs Better absolute path handling (#19727) 2024-11-27 20:22:58 +02:00
serde.rs Allow ignoring soft wraps when moving to line ends (#11153) 2024-05-02 12:30:45 +03:00
test.rs Fix Clippy warnings in util crate (#8721) 2024-03-02 13:06:35 -05:00
util.rs windows: Don't load login shell environment (#22681) 2025-01-07 19:52:47 +00:00