Skip to content

Instantly share code, notes, and snippets.

@kimadeline
Last active February 17, 2026 09:18
Show Gist options
  • Select an option

  • Save kimadeline/d2bbb9b17135b8179750c5af15a76e16 to your computer and use it in GitHub Desktop.

Select an option

Save kimadeline/d2bbb9b17135b8179750c5af15a76e16 to your computer and use it in GitHub Desktop.
✨ Magical zsh theme ✨
if [[ -z $ZSH_THEME_SPARKLES_PREFIX ]]; then
ZSH_THEME_SPARKLES_PREFIX='✿'
fi
SPARKLES_CURRENT_USER_="%{$FG[171]%}%n%{$reset_color%}"
PROMPT='%{$FG[220]%}☆。・:*:★ $SPARKLES_CURRENT_USER_ %{$FG[069]%}$ZSH_THEME_SPARKLES_PREFIX %{$FG[217]%}%c %{$FG[147]%}$(git_prompt_info)%{$FG[147]%}%{$FG[220]%}⭑ %{$reset_color%}'
ZSH_THEME_GIT_PROMPT_PREFIX="%{$FG[076]%}[%{$FG[159]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$FG[076]%}] %{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$FG[076]%}] "
@kimadeline
Copy link
Author

kimadeline commented May 10, 2021

Want to add more 🌟 sparkles 🌟 to your terminal? This Oh My Zsh theme got you covered!

How to use it

  1. Copy this file to your ~/.oh-my-zsh/themes folder
  2. In ~/.zshrc, set ZSH_THEME="sparkles"

And that's it! ✨

Screenshots

What it looks like when not inside a repo:

Screenshot of the customized command prompt when not inside a repository

What it looks like when inside a repo:

Screenshot of the customized command prompt when inside a repository on the main branch

Feb 2025 edit: Had to update the theme to remove some unsupported characters that were breaking line wrapping in Ghostty, updated the screenshots as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment