From b0e9317dd22f029a8fe1264ca7256287f7892f23 Mon Sep 17 00:00:00 2001 From: LawAbidingCactus Date: Tue, 20 Aug 2019 01:56:23 +0000 Subject: [PATCH] document auto option for __fish_git_prompt_showupstream --- sphinx_doc_src/cmds/fish_git_prompt.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sphinx_doc_src/cmds/fish_git_prompt.rst b/sphinx_doc_src/cmds/fish_git_prompt.rst index a89dd7bae..e6a92322a 100644 --- a/sphinx_doc_src/cmds/fish_git_prompt.rst +++ b/sphinx_doc_src/cmds/fish_git_prompt.rst @@ -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 - -