# util: Respect user-defined SHELL environment variable \(\#40181\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 9d23527663380d872494fecc4f1db72267799c30

Requested commit: 9d23527663380d872494fecc4f1db72267799c30

Commit: 9d23527663380d872494fecc4f1db72267799c30

Tree: cdb6b26851db40bd79a2df6748577c72e7b01a2b

Author: Xiaobo Liu

Committer: GitHub

## Message

```
util: Respect user-defined SHELL environment variable (#40181)

Fix issue where Zed would unconditionally override user's custom shell
with system default from passwd entry.

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

Release Notes:

- Fix issue where Zed would unconditionally override user's custom shell
with system default from passwd entry.

---------

Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
```

## Parents

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

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