I use screen and start a couple of shells within it. Now, if I list all shells using Ctrl-a ” , then, all the windows are listed with a generic “bash” label. How can I change this, for e.g. so that they also list the current working directory of that window also.
Share
Never mind, I figured it out. What is displayed via the Ctrl-A ” sequence is the xterm window name, so you have to set that to something else.
So, for bash, put this in the .bashrc