Someone in partnership with another was "in" these, probably from the French for "hut"
... compare earlier shackly rickety, probably akin to ramshackle (Mexican Spanish 
jacal "hut'' is a phonetically impossible ... 'shack' also found in these entries: ...