Update open function to be cross os

https://github.com/MattiSG/DotFiles/blob/master/functions/o.sh#L11-L15