Fix repeat direction (cd to pwd).

change cd to pwd, to actually confirm rather than changing directory.