Check for existence of certain commands like nvim before using them in aliases or env vars like EDITOR.