Add terminal info that allows emacs to use full color spectrum.

This commit is contained in:
Ivan Malison 2014-04-09 13:29:07 -07:00
parent 66db631cb8
commit 769ab7ed7c

View File

@ -1,3 +1,8 @@
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then
export TERM=gnome-256color
elif infocmp xterm-256color >/dev/null 2>&1; then
export TERM=xterm-256color
fi
# Make emacs the default editor. # Make emacs the default editor.
export EDITOR="emacsclient" export EDITOR="emacsclient"
export ALTERNATE_EDITOR="" export ALTERNATE_EDITOR=""