document auto option for __fish_git_prompt_showupstream

This commit is contained in:
LawAbidingCactus
2019-08-20 01:56:23 +00:00
committed by ridiculousfish
parent 225b1204d6
commit b0e9317dd2

View File

@@ -20,6 +20,8 @@ There are numerous customization options, which can be controlled with git optio
- ``$__fish_git_prompt_showupstream`` can be set to a number of values to determine how changes between HEAD and upstream are shown:
``auto``
summarize the difference between HEAD and its upstream
``verbose``
show number of commits ahead/behind (+/-) upstream
``name``
@@ -112,5 +114,3 @@ A simple prompt that displays git info::
set -g __fish_git_prompt_showupstream auto
printf '%s %s$' $PWD (fish_git_prompt)
end