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