For example, in tmux
, I name a window 'test', but how can I add the tty of the current terminal (assuming that is pts/15
) to the end of window name with the tty
command. Then it becomes test pts/15
. So it can dynamically show the current tty of the window.
Thanks.