What started happening was the PROMPT_COMMAND line and seems there were a
few more started showing up in every command I tried to run or when
ever a terminal was started.
I never figured out what was doing that, tried may different
combinations. Including stuff from google.
After tinkering for a while and not getting it right I just commented
it out and have just been using `shopt -s histappend'
Maybe I'm just daydreaming, but I wonder if there are tried and tested
ways to get the maximum possible history saved?