Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/detection/editor/editor.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ const char* ffDetectEditor(FFEditorResult* result)
ffStrbufEqualS(&result->exe, "hx") ||
ffStrbufEqualS(&result->exe, "code") ||
ffStrbufEqualS(&result->exe, "pluma") ||
ffStrbufEqualS(&result->exe, "sublime_text")
ffStrbufEqualS(&result->exe, "sublime_text") ||
ffStrbufEqualS(&result->exe, "zeditor")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is it called zeditor instead of zed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's the binary name in the package on Arch, seems to also be the case on NixOS

Maybe some distro's do call it zed-editor, but I haven't seen one do that yet

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On macOS, it's just called zed. Hence the question.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I see

I'm at school so I can't really add "zed" to the code, sorry about that

) param = "--version";
else if (
ffStrbufEqualS(&result->exe, "kak") ||
Expand Down
Loading