Fix this script to properly use emitted PWD event instead of hacking fish_prompt (which was no longer working)