Use __git_ps1 rather than ohmyzsh git prompt

This commit is contained in:
Víctor Martínez 2012-03-07 10:39:50 +01:00
commit 93a47892f9

View file

@ -1,4 +1,4 @@
PROMPT='%{$fg[grey]%}%n@%m %{$fg[green]%}%~%{$reset_color%} $(git_prompt_info)%{$fg[green]%}$%{$reset_color%} '
PROMPT='%{$fg[grey]%}%n@%m %{$fg[green]%}%~%{$reset_color%}$(__git_ps1) %{$fg[green]%}$%{$reset_color%} '
ZSH_THEME_GIT_PROMPT_PREFIX="("
ZSH_THEME_GIT_PROMPT_SUFFIX=") "