Skip to content

Instantly share code, notes, and snippets.

@MartinJaskulla
Created May 10, 2020 23:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MartinJaskulla/6ba8c22c4c3685329a6e1d4addd441f7 to your computer and use it in GitHub Desktop.
Save MartinJaskulla/6ba8c22c4c3685329a6e1d4addd441f7 to your computer and use it in GitHub Desktop.
PROMPT="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )"
PROMPT+=' %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)$(git_prompt_status)$(git_remote_status)'
# git_prompt_info
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%})"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
# git_prompt_status
ZSH_THEME_GIT_PROMPT_UNTRACKED="🐾 "
ZSH_THEME_GIT_PROMPT_ADDED="🐣 "
ZSH_THEME_GIT_PROMPT_MODIFIED="✏️ "
ZSH_THEME_GIT_PROMPT_DELETED="✂️ "
ZSH_THEME_GIT_PROMPT_RENAMED="🎭 "
ZSH_THEME_GIT_PROMPT_UNMERGED="🤼 "
# git_remote_status
ZSH_THEME_GIT_PROMPT_BEHIND_REMOTE="🧩 "
ZSH_THEME_GIT_PROMPT_AHEAD_REMOTE="🏃 "
ZSH_THEME_GIT_PROMPT_DIVERGED_REMOTE="💔 "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment