diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2012-02-23 00:13:42 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2012-02-23 00:13:42 +1300 |
commit | 97eb4f568212615eeb154e33164e14b1f679b978 (patch) | |
tree | b7812bda81260aaa7c3ac5049b29ede6e8aadce2 /bash | |
parent | Move setterm call down a bit. (diff) | |
download | dotfiles-97eb4f568212615eeb154e33164e14b1f679b978.tar.gz dotfiles-97eb4f568212615eeb154e33164e14b1f679b978.zip |
Add xterm-256color definition.
Diffstat (limited to 'bash')
-rw-r--r-- | bash/bashrc | 5 |
1 files changed, 5 insertions, 0 deletions
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\$ ' |