From 97eb4f568212615eeb154e33164e14b1f679b978 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 23 Feb 2012 00:13:42 +1300 Subject: Add xterm-256color definition. --- bash/bashrc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bash') diff --git a/bash/bashrc b/bash/bashrc index 9644077d..ffc5039d 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -32,6 +32,11 @@ shopt -s cmdhist # Append rather than overwrite Bash history. shopt -s histappend +# If this is an xterm, try for 256 colors. +case "$TERM" in + xterm*) TERM=xterm-256color +esac + # Simple prompt. PS1='\u@\h:\w\$ ' -- cgit v1.2.3