upgrade all themes to use vcs_prompt_info

This commit is contained in:
Ryan Phillips 2010-10-19 16:14:49 -07:00
commit 30573eed3f
42 changed files with 44 additions and 44 deletions

View file

@ -4,7 +4,7 @@ if [ "$(whoami)" = "root" ]; then NCOLOR="red"; else NCOLOR="green"; fi
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
PROMPT='%{$fg[$NCOLOR]%}%n%{$fg[green]%}@%m%{$reset_color%} %~ \
$(git_prompt_info)\
$(vcs_prompt_info)\
%{$fg[red]%}%(!.#.»)%{$reset_color%} '
PROMPT2='%{$fg[red]%}\ %{$reset_color%}'
RPS1='${return_code}'