add support for 256 color gnome terminal

This commit is contained in:
David Majnemer 2010-09-28 21:13:06 -05:00
parent ac5b414a5a
commit 2451f6625e

View file

@ -66,6 +66,10 @@ if command -v infocmp >/dev/null 2>&1 ; then
;; ;;
esac esac
if [ "${COLORTERM}" == "gnome-terminal" ]; then
TERM="xterm-256color"
fi
TERM=`fix_term $TERM` TERM=`fix_term $TERM`
# I am sorry to hear that you are running an # I am sorry to hear that you are running an