Project

itt

0.0
Low commit activity in last 3 years
A long-lived project that still receives updates
Set iTerm2 tab titles and background colors from the command line. Supports all default iTerm2 colors and emoji in titles.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

~> 0.4
 Project Readme

Gem Version Ruby

itt

iTerm2 tab color and title utility for macOS.

Example

Install

gem install itt

Works with the system Ruby on macOS Ventura, Sonoma, and Sequoia (Ruby 2.6+).

Usage

itt [color] <title>

Examples

itt purple web-server      # Set color and title
itt p web-server           # Short color name
itt orange rails-console
itt blue :whale: docker    # Emoji support
itt clear                  # Reset to default

Colors

red green blue orange yellow purple

Colors match the default iTerm2 tab color palette.

zsh

Add to ~/.zshrc:

export DISABLE_AUTO_TITLE=true

Emoji

Supports emoji codes via rumoji. Use codes like :whale: or :grin: in titles.

See the emoji cheat sheet for available codes.

Credits