hang it

Also, hang it all. An expression of annoyance, probably a euphemism for hell or damn. For example, Hang it! I locked my keys inside the car, or Hang it all, you don't need to push me.

The American Heritage® Idioms Dictionary Copyright © 2002, 2001, 1995 by Houghton Mifflin Harcourt Publishing Company. Published by Houghton Mifflin Harcourt Publishing Company.