I happened to read the word shebang yesterday and, perhaps it was seeing it in print, I suddenly realised that I had no idea what it really meant or where it came from. The whole shebang. A shebang was a nineteenth century American word for a log cabin and then for a tavern.
Then it came to mean a kind of cart in which you could hire a seat. Of course, you could hire the whole shebang. So in a story of 1880 a traveller is told that he has a seat specially reserved for him:
"...the box seat was purchased by that other gentleman in Sacramento. He paid extra for it, and his name's on your way-bill!"
"That," said Yuba Bill, scornfully, "
And so the whole shebang came to mean the entirety of something usually only dealt with in parts, and thus the modern usage.
Mind you, nobody really knows where the original word came from: perhaps Irish shebeen for tavern, or French char-a-banc for cart.
Part of the shebang