My Bash history is remembered when I connect to my Mac via SSH, use iTerm2 or launch `bash` in the built-in Terminal app (every command I typed in `bash` is saved) but is not when I just use the built-in Terminal app. I already tried resetting the profiles in Terminal. I also checked ownership and permissions of `.bash_history`. Later I also tried to delete this file. [This answer](https://apple.stackexchange.com/a/50651/162962 "This answer") didn't help either. My default shell definitely is `bash`.