# cli: Add extra paths in \`detect\(\)\` on Windows \(\#25765\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a8a05f208bea3f760e702c084c70dad7ee33a5f8

Requested commit: a8a05f208bea3f760e702c084c70dad7ee33a5f8

Commit: a8a05f208bea3f760e702c084c70dad7ee33a5f8

Tree: ae427a6dbd1a3e6fd4caafdeae6e1c02354bc392

Author: Maksim Bondarenkov

Committer: GitHub

## Message

```
cli: Add extra paths in `detect()` on Windows (#25765)

I'm already integrating CLI into MSYS2 package, and this patche helped
me to make it work like in Arch:
https://github.com/msys2/MINGW-packages/pull/23537. used the same way as
in [Linux
implementation](https://github.com/zed-industries/zed/blob/6856e869fcb8fd2e164a2c43b42ac5046f1d7ea8/crates/cli/src/main.rs#L314)

Closes #ISSUE

Release Notes:

- N/A
```

## Parents

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

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