How can you gather history together for multiple terminals?
It just works by default.
history --shared
history --combined
shopt -s histappend