I thought I could check my ZSH version used in macOS with zsh -v
. Instead, I got a very long output which contained some shell code and I'm not sure if I made a mess with that command.
% zsh --help | grep version
--version show zsh version number, then exit
% zsh --help | grep -- '-v '
-v equivalent to --verbose
So you just ran another zsh process, but in a verbose mode.