Heat pan until hot so the oil is near smoking.
Add the sliced potatoes and spices until the potatoes start to brown at the edges.
Turn the potatoes with a spatula and add the onions.
Cook until the potatoes are browned on both sides and onions are wilted. Serve immediately.