A clean, informative ZSH theme tailored for the Catppuccin color palette. Based on the steeef theme from Oh My Zsh, adapted to strictly use Catppuccin hex colors for prompts with several usability improvements.
Available in four flavors: Latte (light), Frappé (medium), Macchiato (medium), and Mocha (dark).
- Catppuccin Colors: Native Catppuccin hex color integration for prompts. Each flavor uses its own color palette so the theme blends seamlessly with your Catppuccin terminal setup.
- VCS / Git Status: Displays the current branch, staged/unstaged changes, and untracked files.
- Smart Hostname: The
@hostnameis hidden for local sessions to save space and only shown when connected via SSH. - Path Truncation: Limits the working directory display to the last 3 directories (
%3~) to keep the prompt clean in deep directory structures. - Virtualenv Support: Displays the active Python virtual environment.
The prompt looks like this:
username in ~/path/to/project (branch●) (venv)
$
| Element | Catppuccin Color |
|---|---|
| Username | Mauve |
| Hostname (SSH) | Peach |
| Path | Green |
| Branch name | Teal |
| Staged ● | Green |
| Unstaged ● | Peach |
| Untracked ● | Maroon |
| Virtualenv | Lavender |
| Prompt text | Text |
You can install the theme either automatically via the provided interactive script, or manually.
Run the following command in your terminal. The script will ask you which flavor you want to install:
curl -fsSL https://raw.githubusercontent.com/moinferdi/catppuccin-zsh/main/themes/install.sh | bash-
Download the desired theme flavor to your Oh My Zsh custom themes directory.
Latte:
curl -o ~/.oh-my-zsh/custom/themes/catppuccin-latte.zsh-theme https://raw.githubusercontent.com/moinferdi/catppuccin-zsh/main/themes/catppuccin-latte.zsh-themeFrappé:
curl -o ~/.oh-my-zsh/custom/themes/catppuccin-frappe.zsh-theme https://raw.githubusercontent.com/moinferdi/catppuccin-zsh/main/themes/catppuccin-frappe.zsh-themeMacchiato:
curl -o ~/.oh-my-zsh/custom/themes/catppuccin-macchiato.zsh-theme https://raw.githubusercontent.com/moinferdi/catppuccin-zsh/main/themes/catppuccin-macchiato.zsh-themeMocha:
curl -o ~/.oh-my-zsh/custom/themes/catppuccin-mocha.zsh-theme https://raw.githubusercontent.com/moinferdi/catppuccin-zsh/main/themes/catppuccin-mocha.zsh-theme -
Open your ZSH configuration file:
vim ~/.zshrc -
Set the
ZSH_THEMEvariable to the flavor you downloaded:ZSH_THEME="catppuccin-latte" # or ZSH_THEME="catppuccin-frappe" # or ZSH_THEME="catppuccin-macchiato" # or ZSH_THEME="catppuccin-mocha"
-
Save the file and apply the changes:
source ~/.zshrc
- Oh My Zsh
- A terminal emulator configured with a Catppuccin color scheme for the best visual experience.
This project is licensed under the MIT License.