I would like that every stdout in a specific tmux window is dynamically redirected toany command | tmux window-rename That is, the last line of output always becomes the title of the window.I run an interactive shell (zsh) session in that window.I encountered two problems:Output is redirected after the command finished, not during the completionSomehow tmux window-rename will complain about wrong usage
Change tmux window title dynamically to last line of command output
zsh;tmux;output;window title