It's fun to say.
https://www.youtube.com/watch?v=JNPW2wZ4D2s
It's got roots in Gaelic, in which the original word meant "in the way of the fox". So a shenanigan would be something crafty or sneaky.