Rename Terminal Tabs in Mac OS X
Having a bunch of Terminal tabs named “bash” “bash” and “bash” isn’t too useful or descriptive. Instead, you can rename each tab individually to something more specific by using the Terminal inspector.
Before doing so, keep in mind that tabs default to rename themselves automatically based on the currently running process, thus if the terminal tab is running ‘top’ it will rename itself as ‘top’ and so forth. Choosing to rename the tab this way prepends the process name within the tab name.
Here’s how to rename a tab in the OS X Terminal:
- From any multi-tabbed Terminal window, hit Shift+Command+i, or pull down the “Shell” menu and select “Edit Title” to bring up the Terminal Inspector window
- From here you can either rename the tab name, or even the Terminal window itself
- Repeat with other tabs / windows as desired
Here’s an example of what this may look like with renamed and more descriptive tabs:
Name tabs by location, category, purpose, usage, whatever you go with will probably be easier to identify at a glance than the default option, particularly if you have a bunch of shell windows or tabs open that otherwise aren’t too descriptive with their naming convention..
Thanks for the quick tip AJ