In a large heavy saute pan, heat oil over medium heat until smoking. Add onions and cook until lightly browned, about 8 to 10 minutes. Add zucchini, eggplant, herb bundle, bell peppers, and sugar and cook until marmalade-like consistency, about 1 hour. Remove to cool and store in a crock.