Skip to content

Instantly share code, notes, and snippets.

@kimadeline
Last active June 24, 2022 19:04
Show Gist options
  • Save kimadeline/d2bbb9b17135b8179750c5af15a76e16 to your computer and use it in GitHub Desktop.
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
CURRENT_USER_="%{$FG[171]%}%n%{$reset_color%}"
PROMPT='%{$FG[220]%}☆。・:*:・゚⭑ $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

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