Setting iTerm tab names

I work a lot with terminal windows, and on my MacBook Pro I use iTerm2 for this. But a lot of tabs can be confusing. Unfortunately, there is no simple GUI for setting tab names in iTerm2 (that I have found). After a quick question, Joshua Thijssen found the answer on how to do this through a simple command.

Being lazy and forgetful, I decided to write a simple bash script to execute this command. What I wanted to be able to do is enter a command with a title, which would then become the tab title. Something like this:

itermtabname leftontheweb

This is of course a very simple thing to do, but I have never done any shell scripting. So with a bit of Google Fu I found out how to do this. It is indeed very simple:

I've also added this script to my toolbox.


Add comment

Comments

gravatar anemometer video: two sets of barbels (rather like whiskers), which all sturgeon use to locate their food, are situated under its mouth. 6 differential scanning calorimeter. twin sensors record altimeter, barometer and thermometer gauges on a rugged resin watch built for durable outdoor performance. gorman also claimed to see blue sky through an orange orb in the night, which floated through the sky, occassionally releasing other orbs and beings of some sort.
February 28, 2013
gravatar refractometros atago: you are constantly delighted and surprised. towards that end...numerous outstanding ideas...from you the readers...have led this story to expand beyond my initial four, five, or six part series. the peak flow number and your symptoms are used as a guide to help you manage your asthma. : lamp uv, gem mineral identification, ac uv light, diamond tester for sale, specific gravity equation, minerals lab, uv lampen, specific gravity quartz, equation for specific gravity, portable uv lamp, gem refractometers, duotester, presidium gem, presidium reflectivity meter, diamond tester reviews, gem wind speed & direction from vcr parts.
March 11, 2013
gravatar voice recorder usb pen: 1/8" mini female out 1/8" mini female in usb 2.0 female out. although voice logging is synonymous with telephone recording, or phone recording, it includes also recording the radio and voip conversations. simple charge with your usb port and record audio. how to choose the right gps tracker.
May 15, 2013
gravatar Government Jobs Bca 2010: southgate, mi jobs on careerbuilder.com - jobs & job search. looking for southgate, mi jobs? see currently available job openings on careerbuilder.com. browse the current listings and fill out job applications. michigan jobs and careers resources | state representative alberta. michigan works; job fairs; tips for a successful interview; building a strong resume; no worker left behind? getting our workers back on the job; career services web sites
May 17, 2013

Php5_zce_logo

Tags

1337 2008 2010 2011 4developers access modifiers accessibility AdaLovelaceDay09 advent agavi agile alfred amsterdam amsterdamphp apache api apple article articles atk atkMetaNode audioscrobbler autoloading automation azure backwards compatibility barcelona barcodes bash bbc bbq beatstad belgium best practices bittorrent blogging blogs boards of canada book books bughuntday bundle caching cake cal evans calendar career cat cerf certificate cfp cilex clear cms cologne common sense communities community components composer conference conferences contest continuous integration contribute contribution crisis css curl custom d-day data migration datetime DbFinderPlugin decorator decorators deployment deps devdays development directoryindex directoryiterator docblox doctrine doctrine2 documentation download dpc dpc09 dpc10 dpc11 DPC2008 dreamhost drupal dv7 eclipse ed editors efficiency enterprise errors event events expertise ezcomponents facebook filter-branch filteriterator finland flickr fork framework frameworks free ticket freelance freeze frontend fun game games geoip germany getting real git github globiterator gnome-do google google calendar googletalk graceful degradation hack hackers hidden gem hiphop howto hp HR html http i386 ibuildings icann ide ideasofmarch idm imovie inclusivity indy ingewikkeld integration international php conference internet interview ipad IPC ipc ipc08 ipc10 ipc11se iterators iterm2 javascript jenkins jenkins-php job job openings jobeet john peel joomla joomladays kiva kubuntu launcher launchy left on the web libcurl libraries library lighttpd lime linktuesday linux live london loudblog m2ts mac magazines malware mambo manchester marjolein mediterra meeting meme meta methodology micro-financing microframework microsoft migration movie music mysql namespace namespaces netbeans netherlands newsfire nllgg northeastphp nos odmarco open source opinion ORM osx paradiso paris partnership pavilion pear pecl performance personal pfc10 pfc11 pfcongres pfcongrez pfz pfz.nl photo php PHP php5.3 phpabstract phpazure phpBB phpbb phpbelgium phpbenelux phpbnl10 phpday phpdoc phpdocumentor phpgg phpitalia phpnw phpnw08 phpnw11 phpnw12 phpstorm phptek phptek09 phpuk2009 phpUnderControl phpunit php|architect php|tek podcast politics portability postcrossing presentation presentations private projects protected prototype PSR-0 public python qa qr codes re2c recruiting refactoring review rewrite ruby on rails san francisco schedule scifi script security sensio seven things sexism sfdaycgn sflive2011 shell scripting silex simplexml slides smfony software sogeti solar sound speakers spl ssh standard standards star trek static steer strings stylesheets subversion symfony symfony live symfony2 Symfony2 symfonycamp symfonyday symfonylive symfonyUnderControlPlugin talk talks tech techademy technology techportal tek09 telecommuting terratec terrorism testfest testing textmate textpattern the right tool timeout tips tld todo tomas tools training twig uncon unet usability usergroup validation vhost video vim vinyl virus warp webinar weblogging webservices wiki windows winphp women wordpress work workshop world world of warcraft wpi writing wunderlist xml xpath xsd yara year youtube zc11 ZCE zemanta zend zend framework zend server zend studio zendcon Zend_Form zite
© 2004 - 2013 Stefan Koopmanschap + Powered by Symfony, photos powered by Flickr, links powered by Delicious, Shanghai smilies by Iconbuffet. Feeds: rss / atom. Left on the Web v4.4.0.1