Green’s Dictionary of Slang

shit! excl.

also great shit! lizard shit! shit and onions! shit and piss! shit on rye! shit on toast! shitty! snakeshit!
[shit n. (1a)]
[mid-19C+]

1. an excl. of fury, irritation, disappointment.

2. nonsense! rubbish!

3. a general excl. of emphasis, usu. implying approval.

4. an excl. of amazement, disbelief.

In exclamations

oh shit!

[mid-19C+] (orig. US) a general excl. of surprise with undertones of dismay.

shit and derision!

[20C+] a general excl. of annoyance.

shit, eh!

[1940s+] (Aus.) an excl. of moderate astonishment or irony.