Remove potential osascript hijacking attack (#2867)

Fixes
https://linear.app/zed-industries/issue/Z-2818/security-vulnerability-dylib-injection

Release Notes:

- Fixed a potential local code-injection if a user installs the Zed CLI
for the first time with a hijacked `osascript` in their path.
15f91f38f6Mikayla Maki committed on 8/19/2023, 1:00:39 AM· committed by GitHubparentsef9686c5a356a4
2 files changedLine totals unavailable