Skip to content

Instantly share code, notes, and snippets.

@shanzi
Created January 23, 2013 10:59
Show Gist options
  • Save shanzi/4604406 to your computer and use it in GitHub Desktop.
Save shanzi/4604406 to your computer and use it in GitHub Desktop.
This zsh theme theme is modified from the default oh-my-zsh theme robbyrussell.zsh-theme
PROMPT='%{$fg_bold[green]%}%n %{$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]%}+%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment