From 063637c13c7fb3dcc52663a248dd91a7e48a66f1 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Wed, 17 Sep 2008 15:53:03 +0000 Subject: [PATCH] .bashrc: translated nxterm into xterm --- .bashrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.bashrc b/.bashrc index 1addd9f..ada53fa 100644 --- a/.bashrc +++ b/.bashrc @@ -44,6 +44,14 @@ if [ -n "$PS1" ]; then # support resize, please shopt -s checkwinsize + # standarise $TERM + case "$TERM" in + nxterm) + export TERM=xterm ;; + *) + echo "$TERM: Unknown TERM value." ;; + esac + # get a nicer $PS1 [ -s $HOME/.bash/prompt.in ] && . $HOME/.bash/prompt.in