I often find myself switching between Bash and Zsh, and using the history search functionality to recover a command.
However, since Bash and Zsh have different history files, I often find that the command I'm searching for has been executed in the other shell.
Is there any way to share or synchronize history between the two?