mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 23:24:39 +00:00
document auto option for __fish_git_prompt_showupstream
This commit is contained in:
parent
225b1204d6
commit
b0e9317dd2
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue