Heat oil in a large (12-inch) skillet. Add onions and zucchini; cook until softened, seasoning with 1/2 teaspoon salt, several grinds of pepper, cumin, smoked paprika, and oregano and adding tomatoes and garlic the last couple of minutes, about 5 minutes total.