kennethreitz.zsh-theme 615 B

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