summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2023-03-04 19:57:26 +0100
committerSven Wegener <swegener@gentoo.org>2023-03-04 20:29:06 +0100
commitfad333363f29e7ae83a71fb6714576c5a8a9d006 (patch)
tree2ed97d53134094cfbe591be67d1219f80a45e5d5
parentapp-arch/ncompress: Stabilize 5.0-r1 hppa, #899290 (diff)
downloadgentoo-fad33336.tar.gz
gentoo-fad33336.tar.bz2
gentoo-fad33336.zip
app-shells/bash: do not update screen's internal window title
The k escape sequence changes screen's internal window title, which is the alias given by the user to the window and which should not be changed by an application running inside screen. screen supports the so called hardstatus line with the _ escape sequence, which should be used instead and which gets forwarded to the terminal as the title. Signed-off-by: Sven Wegener <swegener@gentoo.org>
-rw-r--r--app-shells/bash/files/bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/app-shells/bash/files/bashrc b/app-shells/bash/files/bashrc
index b7202a361d31..98621a7c9a80 100644
--- a/app-shells/bash/files/bashrc
+++ b/app-shells/bash/files/bashrc
@@ -42,7 +42,7 @@ case ${TERM} in
PS1='\[\033]0;\u@\h:\w\007\]'
;;
screen*)
- PS1='\[\033k\u@\h:\w\033\\\]'
+ PS1='\[\033_\u@\h:\w\033\\\]'
;;
*)
unset PS1