Preheat the oven to 400 degrees . Using a fork, prick the inside of the pie shell, then bake for 8 minutes. Remove from the oven; lower the temperature to 325 degrees .
Meanwhile, in a large skillet, cook the bacon over medium heat, stirring often, until crisp, about 5 minutes; using a slotted spoon, transfer to paper towels to drain. Add the onion and 1/2 teaspoon each salt and pepper to the bacon fat in the skillet and cook over medium heat, stirring occasionally, until softened, about 5 minutes. Increase the heat to medium-high and cook, stirring, until the onion is golden, about 2 minutes. Transfer the onion to the pie shell.
In a large bowl, beat the eggs with the half-and-half; stir in the cheese and the cooked bacon. Pour the mixture into the pie shell. Bake until set, about 40 minutes. Let stand for 10 minutes before slicing.