Fix `script/zed-local` on non-Windows platforms (#28098)

This PR fixes the `script/zed-local` script, which was no longer working
properly after https://github.com/zed-industries/zed/pull/23117.

Release Notes:

- N/A
982196343fMarshall Bowers committed on 4/4/2025, 4:03:57 PM· committed by GitHubparentcfe5620
1 file changedLine totals unavailable