Fix zed cli in NixOS WSL instances (#43433)

This fixes running `zed <path>` inside nixos wsl instances. We're
copying the approach used elsewhere which is to try using `--exec`
first, and if that fails use an actual shell which should cover the
nixos case because it only puts binaries on your PATH inside the
`/etc/profile` script which is sourced on shell startup.

Release Notes:

- N/A

---------

Co-authored-by: John Tur <john-tur@outlook.com>
f75e7582e6Julia Ryan committed on 11/24/2025, 9:46:13 PM· committed by GitHubparent9e69ac8
1 file changedLine totals unavailable