forgot an if

This commit is contained in:
Felipe Rodrigues de Almeida 2014-04-04 23:31:48 -03:00 committed by Bruno Pinto
parent 99abb82ffa
commit 4dbe772048

View File

@ -47,7 +47,7 @@ function fish_prompt
if [ (_is_git_dirty) ]
set git_info $yellow '('$git_branch "±" "$git_vs_upstream"')' $normal
else if [ (_upstream_count) ]
else if [ (_git_up_info) ]
set git_info $yellow '('$git_branch "$git_vs_upstream"')' $normal
else
set git_info $green '('$git_branch')' $normal