My instinct says that if you'd run into any problems, it would be with this line:
PROMPT_COMMAND="run_on_prompt_command"
My instinct says that if you'd run into any problems, it would be with this line:
Maybe ZSH has a different API? Again though, I've always just used bash, so you'd have to try it and see.