I am sorry. I meant, check `$TERM`, not `$OSTYPE`.