I used zsh and when I run Ctrl-R
to search history command, I can only get the command executed in this session, but can't search all the history commands.
I know there is a .bash_history
file in bash to store all the history commands and we can do this search in bash.
Is there any way to do this in zsh?