Remove unneeded cd commands