Run: tmux send -u automatic-rename
On Sun, 22 Apr 2018, 02:28 Wellie Chao, <wellie.c...@gmail.com> wrote: > Currently (tmux 2.7) if the terminal receives an escape sequence to set > the window name (\033k${HOSTNAME%%.*}\033\\), tmux will turn off > automatic-rename. Is there a way to have tmux re-enable automatic-rename > upon receipt of some other terminal escape sequence? > > The problem I am trying to solve is that I set the window name using a > terminal escape sequence when I ssh to a remote host. When I log off the > remote host (i.e. ssh exits), I want tmux automatic-rename to function > again to change the window name automatically to the command name. > > -- > You received this message because you are subscribed to the Google Groups > "tmux-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to tmux-users+unsubscr...@googlegroups.com. > To post to this group, send email to tmux-users@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to tmux-users+unsubscr...@googlegroups.com. To post to this group, send an email to tmux-users@googlegroups.com. For more options, visit https://groups.google.com/d/optout.