I'm running a zsh non-login shell (zsh version 5.8.1) in a tab of Terminal.app under MacOS 12.6.5.
When creating interactive child-zsh processes and exit them, I see a message
Saving session...completed.
When I later enter a new zsh, with
zsh
I get a message such as
Restored session: Mon Apr 17 12:28:19 CEST 2023
I don't know what zsh is doing here behind my back, but I don't like it. My guess is that a "session" contains of zsh variables and their values, and they are somehow "restored" to a previous value.
I googled for apple shell sessions, but nothing usable came up. Could someone explain to me, what is going on here, and how I can turn this off? I have used zsh on Linux and Windows before and got used to the fact that the shell is doing just what I ask it to do, and not something fancy on its own.