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>
9d23527663Xiaobo Liu committed on 10/14/2025, 3:48:24 PM· committed by GitHubparentfc2b3b2
1 file changedLine totals unavailable