Add OS detection to bashrc