pub fn resolve_editor(config_editor: Option<&str>, env: &Env) -> Result<String>
Resolves the editor command, erroring if none is configured.