Recompute cdpath on load if we started outside ~