Project

itt

0.0
No release in over 3 years
Low commit activity in last 3 years
iTerm2 tabs color and title util
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.4
 Project Readme

Gem Version Code Climate Ruby

itt
iTerm2 tabs color and title util

Demo

Example

About

itt is a ruby script which allows setting the title and / or background color of the current tab in the popular Mac OS X terminal app iTerm2 using escape sequences.

Install

gem install itt

Usage

Just call itt without any arguments to see help

Version: 0.1.7

Sets the color and/or title of the current iTerm2 tab

USAGE:
itt [color] title
Examples:

	itt purple web-server
	itt p web-server	
	itt orange rails-console
	itt blue :whale: docker

Clear title and color:

	itt clear

Colors: red, green, blue, orange, yellow, purple

Emoji cheat-sheet: http://www.emoji-cheat-sheet.com

zsh

If you are using zsh you will need to add export DISABLE_AUTO_TITLE=true in your .zshrc

Emoji

Thanks to the rumoji gem itt can use Emoji using emoji codes like :grin: to get a 😁

The cheat-sheet is available here (The link is also displayed in itt help)

Why?

I tend to color my tabs for easier reference. I prefer using the keyboard to clicking on stuff. There might be a way to do this using keyboard shortcuts but honestly I was too lazy to research it properly and lets face it - this is not a lot o work.

TODO

  • Make itt a gem for easier install
  • Generate a nicer gif

Credit