Hacker News new | ask | show | jobs
by yjftsjthsd-h 3101 days ago
> I've resorted to doing platform checks in my .bashrc

This is what I do, too. Most of mine is portable, but I have a block in bashrc that branches on uname.