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