Skip to content
This repository was archived by the owner on Jun 18, 2026. It is now read-only.
This repository was archived by the owner on Jun 18, 2026. It is now read-only.

Does not honour /usr/bin/editor / update-alternatives #2

Description

@GideonBear

@spenserblack (pinging since it doesn't look like you're watching the repo (see https://github.com/orgs/community/discussions/157470), sorry if that was intentional)

My system comes with /usr/bin/editor -> /etc/alternatives/editor which is managed by update-alternatives. find-editor does not use this, instead using vi when EDITOR is unset. I propose to fall back to editor if it exists instead of vi, only using vi when editor is not found on PATH.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions