Some info on the .zsh_sessions file can be found here:
https://apple.stackexchange.com/questions/427561/macos-zsh-sessions-zsh-history-and-setopt-append-history
It only gets generated on MacOS when using the default terminal
and can be disabled in the user zshenv file.