[zsh] Support Terminal.app's CWD escape code

Terminal.app uses a special escape sequence to govern what directory it
considers to be the current working directory.