commit: fad333363f29e7ae83a71fb6714576c5a8a9d006 Author: Sven Wegener <swegener <AT> gentoo <DOT> org> AuthorDate: Sat Mar 4 18:57:26 2023 +0000 Commit: Sven Wegener <swegener <AT> gentoo <DOT> org> CommitDate: Sat Mar 4 19:29:06 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fad33336
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 <AT> gentoo.org> app-shells/bash/files/bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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