[Bug]: Shows "Open in Zed" when the ZFS Event Daemon is installed as#33443

opened1d agobyRRamblurr

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/server

Steps to reproduce

  1. Use Linux with ZFS installed, so zed on PATH is the ZFS Event Daemon, and with no Zed editor installed.
  2. Open a project in T3 Code.
  3. Look at the "Open in" button in the sidebar or header.

Expected behavior

Zed is only offered when the Zed editor is installed. Its availability is checked more reliably, for example by looking for zeditor or by validating zed --version output.

Actual behavior

The button reads "Open in Zed" and is the default editor. Clicking it runs the ZFS zed binary, so it doesn't open an editor.

Related to #23375, but a different case: I don’t have the Zed editor or zeditor installed at all. The only zed executable on my PATH is the ZFS Event Daemon. T3 still detects it as the Zed editor and displays “Open in Zed.”

Impact

Minor bug or occasional failure

Version or commit

0.1.7

Environment

linux desktop

Logs or stack traces

shell
1none

Screenshots, recordings, or supporting files

No response

Workaround

No response