I do some work in a single terminal tab:
> ls
> ps
Then I close the terminal, and open a new terminal, and run history
> history
1 history
Here is another wierd thing
> echo $0
-zsh
> echo $SHELL
/bin/bash
My .zshrc file looks like this
setopt inc_append_history
setopt share_history
How can I make it preserve the history between tabs?