I agree, avoiding catching it is a better strategy than putting the immune system to test every time.
I didn't do much to avoid it, though, a few times I even had to nurse close ones through their colds fully expecting to catch it from them, yet nothing.
Mind you, I am probably more mindful about disease vectors than most. Avoid shopping-trolleys and -baskets, keep my fingers clear of mouth, nose, and eyes at all unwashed times.