[.bashrc] add check for Darwin kernel
Merge branch 'fix_old_bashrc'