Shelters offer shelter from the rain, but not much more than that :( hopefully someone that works there can help you find someplace better? They might only have a phone number for someone that can give you a phone number, but following that trail would be better than feeling trapped.
And yeah, I tend to repeat relationships. My first wife was just like my father, and so were several of my girlfriends after that was over. Eventually, I managed to see the various ways I was keeping myself in that cycle, and do something different. Learning to mistrust my instinctive reactions to people was an important part of that.