diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-05-02 01:41:55 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2013-05-02 01:41:55 +0000 |
commit | e94186b1d39af451282190ab8d4d85437cd5cde0 (patch) | |
tree | 3fad271372a30fabfd06822802707f6f847827e3 /app-shells | |
parent | old (diff) | |
download | gentoo-2-e94186b1d39af451282190ab8d4d85437cd5cde0.tar.gz gentoo-2-e94186b1d39af451282190ab8d4d85437cd5cde0.tar.bz2 gentoo-2-e94186b1d39af451282190ab8d4d85437cd5cde0.zip |
Handle all Eterm/screen TERM variants #359389 by Christian Birchinger.
(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Diffstat (limited to 'app-shells')
-rw-r--r-- | app-shells/bash/ChangeLog | 5 | ||||
-rw-r--r-- | app-shells/bash/files/bashrc | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/app-shells/bash/ChangeLog b/app-shells/bash/ChangeLog index 2718426e78bc..b5683a57ef70 100644 --- a/app-shells/bash/ChangeLog +++ b/app-shells/bash/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-shells/bash # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/ChangeLog,v 1.332 2013/03/10 21:40:31 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/ChangeLog,v 1.333 2013/05/02 01:41:55 vapier Exp $ + + 02 May 2013; Mike Frysinger <vapier@gentoo.org> files/bashrc: + Handle all Eterm/screen TERM variants #359389 by Christian Birchinger. *bash-4.2_p45 (10 Mar 2013) diff --git a/app-shells/bash/files/bashrc b/app-shells/bash/files/bashrc index ee030f758f12..0464b21fa7f6 100644 --- a/app-shells/bash/files/bashrc +++ b/app-shells/bash/files/bashrc @@ -25,10 +25,10 @@ shopt -s histappend # Change the window title of X terminals case ${TERM} in - xterm*|rxvt*|Eterm|aterm|kterm|gnome*|interix) + xterm*|rxvt*|Eterm*|aterm|kterm|gnome*|interix) PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}\007"' ;; - screen) + screen*) PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}\033\\"' ;; esac |