Better way in .bashrc to check window size