Blame view
themes/kennethreitz.zsh-theme
615 Bytes
|
093a6c34b
|
1 |
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
|
|
46fe1183a
|
2 |
PROMPT='$(virtualenv_prompt_info)%{[03m%}%{$fg[green]%}%c \
|
|
093a6c34b
|
3 |
$(git_prompt_info)\ |
|
46fe1183a
|
4 |
\ |
|
093a6c34b
|
5 6 7 |
%{$fg[red]%}%(!.#.»)%{$reset_color%} '
PROMPT2='%{$fg[red]%}\ %{$reset_color%}'
RPS1='%{$fg[blue]%}%~%{$reset_color%} ${return_code} '
|
|
46fe1183a
|
8 |
ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%}%{$fg[yellow]%}("
|
|
093a6c34b
|
9 10 11 |
ZSH_THEME_GIT_PROMPT_SUFFIX=")%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_CLEAN=""
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}*%{$fg[yellow]%}"
|
|
46fe1183a
|
12 13 |
ZSH_THEME_VIRTUAL_ENV_PROMPT_PREFIX="%{$reset_color%}%{[03m%}%{$fg[blue]%}"
ZSH_THEME_VIRTUAL_ENV_PROMPT_SUFFIX="!%{$reset_color%} "
|