diff --git a/share/functions/fish_git_prompt.fish b/share/functions/fish_git_prompt.fish index 9b0a20539..ef839c611 100644 --- a/share/functions/fish_git_prompt.fish +++ b/share/functions/fish_git_prompt.fish @@ -332,6 +332,9 @@ function __fish_git_prompt_show_upstream --description "Helper function for fish echo "$___fish_git_prompt_char_upstream_prefix$___fish_git_prompt_char_upstream_diverged" end end + + # For the return status + test "$count" = "0 0" end function fish_git_prompt --description "Prompt function for Git"