How can I arbitrarily change the title of a Terminal window in Mac OS X? I have seen this question and this magicwrap thing, but think it's just a simple Mac OS X command.
|
|
This article tells you how. Essentially, you use character sequences echoed to the screen to inform the terminal of what title it should display.
In the above example, whatever the variable title is set to while become the terminal's title. Of course, you could just have the title in the string to echo such as:
But the first way makes it just that slightly bit easy to user and/or extend later. |
|||||||
|
|
Remix of Dan MgG's answer:
Store it in a file called /usr/bin/title (using sudo!) and chmod it to +x. Then from anywhere you can just type
and you get a nice little title. (Syntax may vary if you're not on OSX, if I understand correctly) |
|||
|
|
|
Adding the following to your
And then a quick |
||||
|