In a pan heat oil, add chopped onion, cook till it becomes translucent.
Add salt, chili powder, and turmeric powder.