Overwrite TERM value in case of on X and/or over SSH only
Overwrite TERM value in case of on X and/or over SSH only

Respect the default value as far as possible.
This fix improve the terminal handling in dumb terminal in particular.

curipha/dotfiles