Skip to content

Instantly share code, notes, and snippets.

@ExperiBass
Created February 16, 2020 02:08
Show Gist options
  • Save ExperiBass/5ec51d2e003292fe7e942c93bf39f6ca to your computer and use it in GitHub Desktop.
Save ExperiBass/5ec51d2e003292fe7e942c93bf39f6ca to your computer and use it in GitHub Desktop.
# Place in ~/.oh-my-zsh/custom/themes
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
RPROMPT='%{$fg_bold[green]%}%c%{$reset_color%} $(git_prompt_info)'
PROMPT="%{$fg_bold[red]%}› %{$reset_color%}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment