As in OS X El Capitan 10.11, by default, Bash is configured to save separate commands for each terminal, so they can be restored separately to resume.
Each individual story is also added to the global story in ~ / .bash_history when the shell completes. If you exit the terminal and then open it again - with or without resume, you should find that the commands from each terminal are in ~ / .bash_history. If renewal is enabled, each restored terminal will contain only the restored history, but when creating a new terminal, it will begin with the last global history.
~/.bash_history, , HISTFILESIZE, . - 500. 10 000. HISTSIZE 10 000, (, 500 ).
script, , /etc/bashrc_Apple_Terminal OS X El Capitan 10.11 . , , , .