This is a simple solution to the problem of a tool shed door that would not stay open. After a couple of years of propping it open with rocks and bricks, and getting trapped in the dark when the wind blew it shut, I found a solution.
DUH! Put a hook on the fence rail and the eye on the door. Latch it open! What took me so long, I think, is that the solution was so simple.
Yes, it's a hook and eye!
The other shed is further from the fence, so I bent skinny steel rod into an 18-inch hook. Chain and a hook to connect between the shed door and the fence would also have worked, but I had the rod in the workshop and no chain.