retain cwd like e4c2c0f

i officially hate shell scripting, so instead of sourcing
$PROMPT_COMMAND
i'm just writing in what OSX puts there: update_terminal_cwd