An oh-my-zsh plugin that automatically applies different color schemes to each terminal window/tab based on the shell's PID.
- 25+ color schemes including dark, light, and vibrant themes
- Automatic theme rotation based on shell PID
- Manual theme switching
- Random theme selection
- Clone this repository into oh-my-zsh's custom plugins directory:
git clone https://github.com/stephenc-ori/terminal-colors.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/terminal-colors- Add
terminal-colorsto your plugins array in~/.zshrc:
plugins=(
# ... other plugins
terminal-colors
)- Restart your terminal or run:
source ~/.zshrcThe plugin will automatically apply a different color scheme to each new terminal based on the shell's PID.
List all available themes:
set_terminal_colorsApply a specific theme:
set_terminal_colors draculaApply a random theme:
set_terminal_colors --random- nord
- gruvbox_dark
- dracula
- solarized_dark
- tokyo_night
- catppuccin_mocha
- monokai
- one_dark
- material_darker
- palenight
- solarized_light
- gruvbox_light
- one_light
- github_light
- catppuccin_latte
- material_light
- mint_fresh
- lavender_dream
- peachy_keen
- cream_soda
- red_velvet (dark red)
- ocean_blue (navy blue)
- forest_green (dark green)
- royal_purple (deep purple)
- sunset_orange (bright orange)
- sky_blue (light blue)
- bubblegum_pink (pink)
This plugin uses ANSI/OSC escape sequences to set terminal colors. It works best with modern terminals that support these sequences, including:
- Ghostty
- iTerm2
- Kitty
- Alacritty
- WezTerm
- Terminal.app (macOS)
MIT License