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