# Improve Windows shell discovery \(\#63339\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4c6c4750d3f87f0b93c937c9bda7b50639c0d07d

Requested commit: 4c6c4750d3f87f0b93c937c9bda7b50639c0d07d

Commit: 4c6c4750d3f87f0b93c937c9bda7b50639c0d07d

Tree: 4372c963e2dac59e81628408b4abefa0b591b5c5

Author: John Tur

Committer: GitHub

## Message

```
Improve Windows shell discovery (#63339)

- Simplify PowerShell discovery, and add support for .NET global tool
installations.
- Fix Git Bash discovery in the case where Zed was launched from within
Git Bash. Git Bash prepends its internal `mingw64\bin` directory to
`PATH`, so `which git` returns a different `bash` executable that causes
the relative path lookup to fail.

Release Notes:

- N/A
```

## Parents

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

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