summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-05-02 01:41:55 +0000
committerMike Frysinger <vapier@gentoo.org>2013-05-02 01:41:55 +0000
commite94186b1d39af451282190ab8d4d85437cd5cde0 (patch)
tree3fad271372a30fabfd06822802707f6f847827e3 /app-shells/bash/files
parentold (diff)
downloadgentoo-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/bash/files')
-rw-r--r--app-shells/bash/files/bashrc4
1 files changed, 2 insertions, 2 deletions
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