Fill a skillet with sliced squash and 1/4 cup water. Place a big pat of butter, about 1/4 cup onions, salt, and pepper on top. Cover, simmer for about 20 minutes. If you like it slightly browned, cook longer until all water has evaporated and bottom starts to brown.
This recipe works with zucchini too.