Clear command returns 'xterm-256color': unknown terminal type

Answering my own question, I found the error. I needed to add alias clear="TERMINFO=/usr/share/terminfo TERM=xterm /usr/bin/clear" to my .bashrc file.