Fix this script to properly use emitted PWD event instead of hacking fis...

...h_prompt (which was no longer working)