diff options
author | Sven Wegener <swegener@gentoo.org> | 2023-03-04 19:57:26 +0100 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2023-03-04 20:29:06 +0100 |
commit | fad333363f29e7ae83a71fb6714576c5a8a9d006 (patch) | |
tree | 2ed97d53134094cfbe591be67d1219f80a45e5d5 /app-shells | |
parent | app-arch/ncompress: Stabilize 5.0-r1 hppa, #899290 (diff) | |
download | gentoo-fad333363f29e7ae83a71fb6714576c5a8a9d006.tar.gz gentoo-fad333363f29e7ae83a71fb6714576c5a8a9d006.tar.bz2 gentoo-fad333363f29e7ae83a71fb6714576c5a8a9d006.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>
Diffstat (limited to 'app-shells')
-rw-r--r-- | app-shells/bash/files/bashrc | 2 |
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 |