commit f1b35449c07433dfcc29f7c72650a16bd7b76c12
parent e41e58bd07c1c801989d5eaf229416b28f311b80
Author: Chris Bracken <chris@bracken.jp>
Date: Tue, 26 Feb 2013 22:48:27 -0800
Set $TERM to xterm-256color under gnome-terminal
Diffstat:
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/.bashrc b/.bashrc
@@ -60,6 +60,10 @@ else
fi
unset color_prompt force_color_prompt
+if [ "$COLORTERM" = "gnome-terminal" ]; then
+ export TERM=xterm-256color
+fi
+
# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
diff --git a/.zshrc b/.zshrc
@@ -50,6 +50,10 @@ else
fi
unset color_prompt force_color_prompt
+if [ "$COLORTERM" = "gnome-terminal" ]; then
+ export TERM=xterm-256color
+fi
+
# path additions
if [ -f ~/.paths ]; then
. ~/.paths