Editor on Linux

Description

My solution for was sub-optimal (https://github.com/Ortus-Solutions/commandbox/pull/185).

Which it works great for desktop Linux systems, the choice of using see as a fallback was dumb in hindsight because it's essentially only viewing the file and it breaks for a pile of missing mime-type in mailcap.

A better choice is to test for the existence of /usr/bin/editor and use the default editor of the platform in this case. At least for Debian-based systems (I have no idea about RHEL/Fedora/Suse etc...).

Status

Assignee

Kai Koenig

Reporter

Kai Koenig

Labels

None

Fix versions

Priority

Major