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. 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