If just checking for COLORTERM to be set to gnome-terminal also, there isn't much of a way for this to break on other terminals such as Xterm.
If just checking for COLORTERM to be set to gnome-terminal also, there isn't much of a way for this to break on other terminals such as Xterm.