Restore working directory with proxy icon in Terminal.app

Uses the bash function `update_terminal_cwd` defined in `/etc/bashrc`.