Name tabs in Terminal.app
If you're working on a few different things in Terminal.app, it's likely that you have more than a few tabs open. To help keep things organized, just add the following function to your .bash_profile (assuming you're using Bash.)
tabname () {
echo -e "\033];$1\007";
}
Once you restart Terminal, or open a new tab, you'll be able to use this like so: tabname "<newtabname>"
. Do that, and you'll be able to give more useful names to each tab.
Written by Josh Buhler
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#