From 9ed6ca08938c65d958bdb3bbc5d081842c348b93 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 18 Oct 2015 22:57:04 -0400 Subject: Make xterm always 256 color --- bashrc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bashrc') diff --git a/bashrc b/bashrc index 464d56f..5ddd570 100644 --- a/bashrc +++ b/bashrc @@ -53,6 +53,11 @@ if [ -x /usr/bin/dircolors ]; then alias egrep='egrep --color=auto' fi +# ever seen a monochrome xterm? I sure haven't +if [ "$TERM" = "xterm" ]; then + export TERM=xterm-256color +fi + # enable programmable completion features (you don't need to enable # this, if it's already enabled in /etc/bash.bashrc and /etc/profile # sources /etc/bash.bashrc). -- cgit v1.2.1