How to install a shower curtain from wall to glass edge?
There are rods readily available that are held up by tension, such as this one


The rod is actually made up of two rods, one inside the other. The rod expands in length as you twist the ends. You could bolt a short u-channel to one end that could hold it centered on the edge of the glass.

 Images and links are for illustration only, not an endorsement of goods or sources.