How to open a url from mac osx terminal

If you find yourself needing to click a link from terminal in osx, then there is a way to open it without having to copy / paste it to your browser.

hold cmd + double click on the url and it will open in your default browser!