How to set TERM to xterm-256color

Updated post here: https://codeyarns.github.io/tech/2015-03-18-how-to-set-term-to-xterm-256color.html