Terminal Tabs

Joined
Jan 12, 2009
Messages
1,096
Reaction score
19
Points
38
Location
Prague, Czech Republic
Your Mac's Specs
2,4Ghz 15" unibody
ok this might not be the best place for the thread, but ...

is there a way to name the tabs in a Mac Terminal?? now if i have more terminal windows, each just says bash and I have to cycle through them to see which it is ...

any suggestions are welcome
 
Joined
Jan 25, 2009
Messages
2
Reaction score
0
Points
1
The content of the Term Windows Title is set via the preferences of Terminal.

You can also set the Title programmaticaly. For example in shell
Code:
echo -ne "\e]2;Title\a\e]1;Title\a"
 
Joined
Mar 15, 2007
Messages
161
Reaction score
4
Points
18
Your Mac's Specs
17" MacBook Pro, 2.33GHz C2D, 2GB RAM
The content of the Term Windows Title is set via the preferences of Terminal.

You can also set the Title programmaticaly. For example in shell
Code:
echo -ne "\e]2;Title\a\e]1;Title\a"

Those methods set the title of the whole Terminal window, but I'm pretty sure the OP was looking for a way to set the title of each tab within a Terminal window, which (when visible) always contains the name of the currently running program in that tab (most often "bash"). He wants to see the name before he clicks on it, whereas when the whole window title is changed he can only see the name after he's made that tab active. I'd like to be able to set the tab titles too, but I don't think it is possible.

Nice escape sequence for the echo statement, nonetheless ... I didn't know that one.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top