I've formed the opinion that static shocks are at least largely due to wearing synthetic fabrics, combined with a dry atmosphere. I think this is particularly true of shocks when exiting cars.
Given the weather we've had this summer I haven't experienced a shock for ages!