You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 18, 2026. It is now read-only.
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.
@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/editorwhich is managed byupdate-alternatives.find-editordoes not use this, instead usingviwhenEDITORis unset. I propose to fall back toeditorif it exists instead ofvi, only usingviwheneditoris not found onPATH.