Preheat oven to 180'C
Heat oil in oven-safe pan over medium heat. Add zucchini, capsicum and red onion and cook for 5 minutes or until veggies are soft. Add garlic, sesaon with salt and pepper and cook for an extra minute.
Remove pan form heat and create small wells for the eggs in the middle of the pan. Crack the eggs into the pan and season with additional salt and pepper. Transfer to the oven and bake for 10 to 13 minutes or until the eggs are cooked to your liking.
Remove the pan from the oven and top with the pesto. Enjoy!