modify bashrc to check brew