summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-05-02 01:42:06 +0000
committerMike Frysinger <vapier@gentoo.org>2013-05-02 01:42:06 +0000
commit768d61de045685d3d320dc91dfd4915deda293a9 (patch)
treedd1fa77ba1207686657feeb092d28608be347fae /app-shells/bash/files
parentold (diff)
downloadhistorical-768d61de045685d3d320dc91dfd4915deda293a9.tar.gz
historical-768d61de045685d3d320dc91dfd4915deda293a9.tar.bz2
historical-768d61de045685d3d320dc91dfd4915deda293a9.zip
Handle all Eterm/screen TERM variants #359389 by Christian Birchinger.
Package-Manager: portage-2.2.0_alpha170/cvs/Linux x86_64 Manifest-Sign-Key: 0xFB7C4156
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