crtl-w on tmux naming shells
This is tmux - when i hit 'ctrl -w' which shows me all the
different shells that I have up. This shell casper1005foo is where i initially log in to the system. Each of these shells have ssh'd to another host. It would be cool if when I hit 'ctrl-w' is listed the host the that the shell was ssh'd into. Is there a setting in tmux.config or is there a way to rename the shells. It would be better if I could identify where the shells were logged into with 'crtl-w'. [CODE] (0) 0: bash "casper1005foo" (1) 1: ssh- "casper1005foo" (2) 2: ssh* "casper1005foo" (3) 3: ssh "casper1005foo" (4) 4: ssh "casper1005foo" (5) 5: ssh "casper1005foo" (6) 6: ssh "casper1005foo" (7) 7: ssh "casper1005foo" (8) 8: bash "casper1005foo" [CODE] |
I use the preexec function in zsh to do this before hand, see the following:
Code:
function preexec() { |
All times are GMT -5. The time now is 08:31 PM. |