sets cdpath. Note that autocomplete does not work