Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/remino/omz-plugin-iterm2-tmux-color-tabs
Plugin for Oh My Zsh to make your iTerm2 tmux tabs colourful
https://github.com/remino/omz-plugin-iterm2-tmux-color-tabs
color iterm ohmyzsh omz rainbow tmux
Last synced: about 2 months ago
JSON representation
Plugin for Oh My Zsh to make your iTerm2 tmux tabs colourful
- Host: GitHub
- URL: https://github.com/remino/omz-plugin-iterm2-tmux-color-tabs
- Owner: remino
- License: isc
- Created: 2024-07-06T09:38:35.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-07-06T09:38:52.000Z (7 months ago)
- Last Synced: 2024-11-02T16:34:53.564Z (3 months ago)
- Topics: color, iterm, ohmyzsh, omz, rainbow, tmux
- Language: Shell
- Homepage:
- Size: 107 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- trackawesomelist - iterm-tmux-color-tabs (⭐0) - Every new `tmux` tab opened in iTerm2 will have the next colour from the default or specified palette. (Recently Updated / [Jul 15, 2024](/content/2024/07/15/README.md))
README
iterm2-tmux-color-tabs
======================![Colourful tabs](tabs.png)
Plugin for Oh My Zsh to make your iTerm2 tmux tabs colourful.
## Installation
First, clone the repo:
```sh
git clone https://github.com/remino/omz-plugin-iterm2-tmux-color-tabs.git "$ZSH_CUSTOM/plugins/iterm2-tmux-color-tabs"
```Second, add `iterm2-tmux-color-tabs` to your Oh My Zsh plugins:
```
plugins+=(iterm2-tmux-color-tabs)
```Last, restart your shell.
Every subsequent tmux tab opened in iTerm2 will have the next colour from the default or specified palette.
## Custom Palette
You can customize the color palette by setting the `ITERM2_TMUX_COLOR_TABS` environment variable.
### Default
![Default palette](default.png)
```sh
ITERM2_TMUX_COLOR_TABS_PALETTE=(
"255 173 173"
"255 214 165"
"253 255 182"
"202 255 191"
"155 246 255"
"160 196 255"
"189 178 255"
"255 198 255"
)
```### Example
![Example palette](example.png)
```sh
ITERM2_TMUX_COLOR_TABS_PALETTE=(
"247 37 134"
"181 23 158"
"114 9 183"
"86 11 173"
"72 12 168"
"58 12 163"
"63 55 201"
"67 97 238"
"72 149 239"
"76 201 240"
)
```