For this reason I always try to drive in the center of the lane or even in the left tire-track of a lane when cycling in places without a shoulder or dedicated bike lane; that is, make it clear they can't just scoot past me on the left by taking as much of the lane as possible.
That's also super dangerous because car drivers are aggressive dicks who seem to hate anyone on a bike, so I generally won't cycle in places without bike lanes or shoulders unless it's like 4am and the roads are totally abandoned, but I'd rather risk getting deliberately rammed by a car than accidentally squished between lanes.
That's also super dangerous because car drivers are aggressive dicks who seem to hate anyone on a bike, so I generally won't cycle in places without bike lanes or shoulders unless it's like 4am and the roads are totally abandoned, but I'd rather risk getting deliberately rammed by a car than accidentally squished between lanes.