I rely on my shell history a lot, I use Ctrlr and arrow keys and I
grep through it often.
The problem with with history is if you have more than one session, like if you are using
screen or you open multiple terminal windows or tabs, you would lose all your history except the one you close last.
I thought, there should be a solution for this, I bet others had the same problem and either they use a replacement for history or use a tool to manage history properly.