2
I'm running iTerms on my Mac OS X with zsh
. With my workflow I have to switch between tab a lot and sometime I have to spend too much time just to find which tab is the one I'm looking for because all of them having the same name.
As you can see from the screenshot above. Now that would be very useful for me to at least display the Tab
Title
to the current working directory instead of the Job name
in iTerms for zsh
I have looked at the preferences and there is no option for that. It will only display the CWD
when the job is not running but once it is running then the job name will be display instead.
possible duplicate of Change iTerm2 window and tab titles in zsh
– mpy – 2013-08-02T07:45:56.547@mpy well that is not really answered my question because when the process is running the name is changed again. – Ali – 2013-08-07T03:35:41.303
1You are right, it does not answer exactly your question. But I was thinking of it as a duplicate, because in the linked answers you get (a.) the escape sequences how to set tab and window title and (b.) the hint about
precmd
. But I must admit, that in your case it could also be the functionpreexec
which changes your title -- I retracted my close vote. – mpy – 2013-08-07T10:53:38.160Thanks. I will do some research on how to do that because it is very annoying not to know which tab is which. – Ali – 2013-08-07T12:30:40.250