I'm using the zshell for macOS Catalina (10.15.6). The book "Learning Shell Scripting With Zsh" describes an executable command named prompt, usable in such forms as:
$ prompt -p
$ prompt -h
$ prompt <theme_name>
$ prompt adam1 red yellow magenta
But zsh report "command not found: prompt".
How do I obtain that command, or an equivalent one.
(Everywhere I've tried to search about this just gives me links to places explaining how to set the zsh prompt, with all the usual escape sequences, "$..." symbols, etc.)