Easily Name Tabs in OSX Terminal

5 Dec

If you use the Terminal in OSX frequently you probably keep multiple tabs open.  You can actually name these tabs very easily to remind you what you are doing in each tab.

Named tabs in OSX

Edit or create your .bash_profile

nano ~/.bash_profile


and add this line:

function title() { echo -e -n "\033]0;$1\007"; }


Close and re-open terminal, now you can set the title like this:

title EpicTabTitle
Tweet about this on TwitterShare on Google+Share on FacebookShare on RedditEmail this to someoneShare on LinkedInShare on StumbleUpon

Leave a Reply

Your email address will not be published. Required fields are marked *