In zsh when a command gets wiley you can type

CTRL-X-E for full $EDITOR editing of prompt

When you save and exit it does not automatically execute, you can carefully re-review and hit enter when ready.