commit 4d789cc0c985dd7efc40c682a7edcad36707c946
parent bed1c9092a76c14ffe5513a8019d68454c842e72
Author: Chris Bracken <chris@bracken.jp>
Date: Mon, 12 May 2014 14:50:15 -0700
Set TERM=xterm-256color in iTerm
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.zshrc b/.zshrc
@@ -50,7 +50,7 @@ else
fi
unset color_prompt force_color_prompt
-if [ "$COLORTERM" = "gnome-terminal" ]; then
+if [ "$COLORTERM" = "gnome-terminal" -o "$TERM_PROGRAM" = "iTerm.app" ]; then
export TERM=xterm-256color
fi