I tried that already.
But then it results into "jobname - user@hostname".
The - is a long -.
But then the PWD is missing. I can enable that also, but the home directory will be always the full path and not ~ for the home path.
And the order is different (job name first instead of after the session name)
But why does it not work with the session name as bash shell does? iTerm2 knows the correct username, hostname, etc from the shell/ssh session.
Secondly when path is longer than title bar space is available, you can't see user@hostname part anymore (and most part of path). I can only see the "long line" by hovering over the tabs. When I have 50 SSH tab sessions open, it is terrible to figure out which tab is which session.
Op dinsdag 9 maart 2021 om 18:30:45 UTC+1 schreef George Nachman: