Not liking onions is dumb. If you have no medical reason to avoid onions, and you have no religious reason to avoid them as Hindus and Buddhists do, then you should eat them!
Cooking without onion is just not cooking. It's the base of so many dishes, from several cuisines. It adds moisture to the pan, so your vegetables don't stick. It adds flavor to your food when you can't use salt. Unless you're cooking food for a Hindu or Buddhist monk, cooking without onion is insanity.
I know people like meat and cheese. I know people don't like vegetables. I can understand that. If spinach isn't your thing, it isn't your thing. But: onions are an entirely different category of food! They are not just vegetables, they are spices! They are as important as salt and pepper, or ketchup and mustard.
Cooking without onion is just wrong. Don't do it, OK? I try very hard to make meals common to both vegans and omnivores, like bean burritos, and then you ruin the refried beans because there's no onion. How are we supposed to share food if you won't even eat beans and onions?
Eat your vegetables. At least eat an onion, for goodness' sake.