Effect of shear on an onion texture