I do not know how. Before it didn't keep history across session.Updating the operating system will not remove or overwrite user-level configuration/state files such as~/.sh_history
.
export HISTFILE=""
in ~/.shrc
appears to prevent persistent history retention.