GNU screen tab gets renamed whenever I type a command
8
votes
2
answers
2505
views
When I use gnu screen, in other tabs, I ssh into other machines, rename the tab accordingly, and do work normally. The tab name sticks.
In a fresh tab, which is just a terminal on the original machine, whenever I type any command, the tab gets renamed to the current working directory.
Example:
/////////// here's how everything looks beforehand
[me@mac ~]$
[ me ][0*$ me@mac:~ 1-$ web01 2$ dev03
////////// setting the tab name
[me@mac ~]$
Set window's title to: test
[ me ][0*$ test 1-$ web01 clone 2$ dev03 clone
//////// typing a command:
pwd
[me@mac ~]$ pwd
/home/me
[me@mac ~]$
[ me ][0*$ me@mac:~ 1-$ web01 clone 2$ dev03 clone
and the tab is renamed back to the current working dir. This doesn't happen in any tab where I'm ssh'd into another machine. So I thought this might be an issue of my personal settings, but there doesn't seem to be anything in my .bashrc, .bash_profile or .screenrc files that has to do with titles.
Asked by lowly_junior_sysadmin
(191 rep)
Jun 9, 2016, 06:58 PM
Last activity: Jun 10, 2022, 05:19 PM
Last activity: Jun 10, 2022, 05:19 PM