Fixed bash multiple shell history loss