(Sorry, I neglected to trim the recipients list in my reply and sent Steve and Bart duplicates.).
I just have one addendum to my previous message:
So doing setopt pathscript has no effect whatsoever on what a subsequent /bin/zsh some_script will do. You have to do this instead:
/bin/zsh -o pathscript some_script
This is why the documentation for the PATH_SCRIPT option in zshoptions(1) points you to the INVOCATION section of the main zsh manual: the option is really only useful when specified on the command line.
--