kennethreitz.zsh-theme 450 B

12345678910111213
  1. local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
  2. PROMPT='%{$fg[green]%}%c \
  3. $(git_prompt_info)\
  4. %{$fg[red]%}%(!.#.»)%{$reset_color%} '
  5. PROMPT2='%{$fg[red]%}\ %{$reset_color%}'
  6. RPS1='%{$fg[blue]%}%~%{$reset_color%} ${return_code} '
  7. ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%}:: %{$fg[yellow]%}("
  8. ZSH_THEME_GIT_PROMPT_SUFFIX=")%{$reset_color%} "
  9. ZSH_THEME_GIT_PROMPT_CLEAN=""
  10. ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}*%{$fg[yellow]%}"