From c562825f3a141e378252447c0f4f3c074db87d22 Mon Sep 17 00:00:00 2001 From: hjp Date: Mon, 12 Oct 2009 12:30:26 +0000 Subject: [PATCH] treat xterm-256color like xterm. --- .znewterm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.znewterm b/.znewterm index 7ca38ef..ecb7bc2 100644 --- a/.znewterm +++ b/.znewterm @@ -23,7 +23,7 @@ then stty erase  fi -if [[ .$TERM. = .xterm. ]] +if [[ $TERM = xterm || $TERM = xterm-256color ]] then # indicated exit status by smiley (suggested by Stig Sandbeck Mathisen) smiley="%b%(0?,%{%}:-),%{%}:-()%{%}%B"