kennethreitz.zsh-theme 615 Bytes
Newer Older
1
2
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"

Kenneth Reitz's avatar
Kenneth Reitz committed
3
PROMPT='$(virtualenv_prompt_info)%{%}%{$fg[green]%}%c \
4
$(git_prompt_info)\
Kenneth Reitz's avatar
Kenneth Reitz committed
5
\
6
7
8
9
%{$fg[red]%}%(!.#.»)%{$reset_color%} '
PROMPT2='%{$fg[red]%}\ %{$reset_color%}'
RPS1='%{$fg[blue]%}%~%{$reset_color%} ${return_code} '

Kenneth Reitz's avatar
Kenneth Reitz committed
10
ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%}%{$fg[yellow]%}("
11
12
13
ZSH_THEME_GIT_PROMPT_SUFFIX=")%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_CLEAN=""
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}*%{$fg[yellow]%}"
Kenneth Reitz's avatar
Kenneth Reitz committed
14
15
ZSH_THEME_VIRTUAL_ENV_PROMPT_PREFIX="%{$reset_color%}%{%}%{$fg[blue]%}"
ZSH_THEME_VIRTUAL_ENV_PROMPT_SUFFIX="!%{$reset_color%} "