I can change the terminal's title manually by running.. print -Pn "\e]0;%...@%m: %~\a"
Which gets the terminals title how I want it to be, however, it doesn't track things as I go along. Using Zsh's preexec and precmd, I can get it to change the title of the screen's window, but for some reason, the same command doesn't change the title of the window (only if I run it manually from the shell) precmd () { case $TERM in screen-bce|screen) print -Pn "\e]0;%...@%m: %~\a" print -Pn "\ekzsh: %~\e\\" ;; xterm*|rxvt) print -Pn "\e]0;%...@%m: %~\a" ;; esac } preexec () { case $TERM in screen-bce|screen) print -Pn "\e]0;%...@%m: $1\a" print -Pn "\ek$1\e\\" ;; xterm*|rxvt) print -Pn "\e]0;%...@%m: $1\a" ;; esac } -- screen-profiles does not update gnome-terminal title https://bugs.launchpad.net/bugs/338722 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs