Straight lines are simple: using the brush click where you want the line to start (you will paint a single spot) then hold down the shift key and click where you want the line to end; Photoshop will draw a straight line between your start and end points.
Additionally, for even more control, you can use the pen tool to create a path, then just stroke the path with the brush.
Mike