Add Zed support for editor detection by Alxhr0 · Pull Request #2200 · fastfetch-cli/fastfetch
| ffStrbufEqualS(&result->exe, "pluma") || | ||
| ffStrbufEqualS(&result->exe, "sublime_text") | ||
| ffStrbufEqualS(&result->exe, "sublime_text") || | ||
| ffStrbufEqualS(&result->exe, "zeditor") |
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?
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
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.
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