mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-09 13:10:40 +00:00
forgot an if
This commit is contained in:
parent
99abb82ffa
commit
4dbe772048
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user