3 ms·
Yep, The closest thing is ?: editor = config::get("core.editor") if (!editor) editor = ENVIRON["EDITOR"] ? ENVIRON["EDITOR"] : "vi"
by nmz 5y ago
Yep, The closest thing is ?:
editor = config::get("core.editor")
if (!editor) editor = ENVIRON["EDITOR"] ? ENVIRON["EDITOR"] : "vi"