Segmented Line Tool

I’d like a tool that allows me to draw something like a zig/zag easily. Currently, I think you have to draw 3 separate lines (or duplicate a line 2 additional times). So, I’m looking for something that starts drawing and then each click creates a pivot point.