Discover, install, and configure shell plugins with Fig Plugin Store →
🚀

iTerm Tab Colors

Tabs automatically change colors depending on the folder you are in.

tysonwolker
|
43 stars
8 forks

iterm-tab-colors

Zsh plugin that automatically changes iTerm tab color based on the current working directory

The aim of this plugin is to set a random but consistent tab color on iTerm tabs based on the directory you are in. If you have more than one tab in the same working directory they will have the same color and will remain the same every terminal session.

Installing with zplug/Antigen/Zgen

Installing with zplug. Just add the following line to your .zshrc:

zplug tysonwolker/iterm-tab-colors

Installing with Antigen. Just add the following line to your .zshrc:

antigen bundle tysonwolker/iterm-tab-colors

Installing with Zgen. Add the following line to your .zshrc:

zgen load tysonwolker/iterm-tab-colors