Why turkey has the same name as Turkey
1878, American English and Canadian English, of unknown origin, perhaps from Mexican Spanish jacal, from Nahuatl xacalli "wooden hut." Or perhaps a back-formation from dialectal English shackly "shaky, rickety" (1843), a derivative of shack, a dialectal variant of shake (v.). Another theory derives shack from ramshackle.
Slang meaning "house" attested by 1910. In early radio enthusiast slang, it was the word for a room or office set aside for wireless use, 1919, perhaps from earlier U.S. Navy use (1917). As a verb, 1891 in the U.S. West in reference to men who "hole up" for the winter; from 1927 as "to put up for the night;" phrase shack up "cohabit" first recorded 1935 (in Zora Neale Hurston).
shack up (1940s+)
[fr shack, ''hut, shanty,'' found by 1878, probably fr earlier shackle fr American Spanish jacal fr Aztec xacalli]