Heat oil in a pan until it shimmers. Toss in the cumin seeds and let cook for about 15 seconds. Toss in the onion and green chili. Stir. Add a little salt and cook until the onions are soft, stirring every couple minutes.Add rice, water, chili powder, turmeric and stir.Cook until rice is heated through.