add chpwd_recent_dirs and cdr