In a wide skillet heat 2 tablespoons oil over medium heat and sauté the onions and garlic for 5 minutes. Add green beans and sauté for another 5 minutes. Add the salt, pepper, turmeric, zest of lime, and cayenne, and sauté for 1 minute. Remove from heat and allow to cool.