added case for platform compatibility

Calling `open` will only work on OS X. We should be using `xdg-open` on Arch, Ubuntu and other distros. Alternatively, you could just call `firefox $url` or `google-chrome $url`.