Comment 3 for bug 1197726

Revision history for this message
Ankur Sinha (sanjay-ankur) wrote :

The $PROMPT_COMMAND variable has been changed from:

[asinha@localhost ~]$ echo $PROMPT_COMMAND
printf "\033]0;%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}"

to

[asinha@localhost ~]$ echo $PROMPT_COMMAND
printf "\033k%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}"

The only change seems to be in the beginning, where "\033]0;" was changed to "\033k".

Using export PROMPT_COMMAND=0 in my bashrc does give me unnamed screen windows as expected. This doesn't set the window title though, which remains "screen" in my byobu instance.

Thanks,
Ankur