From 69df62e36e6dd965032820cb7b8851bcbbaf1109 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 23 Oct 2010 08:16:16 -0400 Subject: [PATCH] Adjust _bashrc to drop `screen.` from `screen.*` TERMs (for Ubuntu). --- _bashrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/_bashrc b/_bashrc index 528084b..61a941f 100644 --- a/_bashrc +++ b/_bashrc @@ -49,6 +49,11 @@ if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then debian_chroot=$(cat /etc/debian_chroot) fi +# adjust for Ubuntu not recognizing screen.* terms +if [ "${TERM:0:7}" == "screen." ]; then + export TERM="${TERM:7}" +fi + # set a fancy prompt (non-color, unless we know we "want" color) case "$TERM" in xterm-color) color_prompt=yes;; -- 2.26.2