Skip to content

Instantly share code, notes, and snippets.

@rawsyntax
Created November 4, 2013 23:15
Show Gist options
  • Save rawsyntax/7310990 to your computer and use it in GitHub Desktop.
Save rawsyntax/7310990 to your computer and use it in GitHub Desktop.
modified robbyrussel theme (for use with emacs)
PROMPT='%{$fg_bold[red]%}>%{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}'
ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}x%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%}) 0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment