bash: add cd_func to bash file