Hmm... this doesn't appear to work in Mavericks (I get `update_terminal_cwd` is not present).  Any idea?