Tagged Questions
3
votes
1answer
143 views
How to set up `screen` to modify the window title and xterm-window title?
I'd like to have my current $PS1 prompt (\u@\h:\w$(__git_ps1 "(%s)")\$ plus some coloring) to be also used as screen's window title (in the hardline) and as the xterm window title. How can this be ...
2
votes
1answer
943 views
Showing GNU screen session name and window title in shell prompt
Is there a way to present the GNU Screen session name and window title in the prompt of the shell (let us say, the Bash prompt defined by PS1)?