I want to keep history separated for each tab (even for split windows within one tab). I therefore found a solution to add these two lines after source $ZSH/oh-my-zsh.sh:
source $ZSH/oh-my-zsh.sh unsetopt inc_append_history unsetopt share_history Now the history is really separated, nevertheless when I completely close the terminal (in my case Tabby), the histories for each tab are common again. How to solve that? I use zsh with Tabby.