bash: update cd_func