mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 23:24:39 +00:00
fish_git_prompt: Fish show_upstream
This isn't a boolean option Fixes #9301
This commit is contained in:
parent
74fd66fcbe
commit
8d5198b9b4
1 changed files with 2 additions and 1 deletions
|
@ -289,7 +289,8 @@ function fish_git_prompt --description "Prompt function for Git"
|
|||
end
|
||||
end
|
||||
|
||||
if contains -- "$__fish_git_prompt_showupstream" yes true 1
|
||||
# (showupstream has a variety of options, not just bool)
|
||||
if set -q __fish_git_prompt_showupstream
|
||||
or contains -- "$__fish_git_prompt_show_informative_status" yes true 1
|
||||
set p (__fish_git_prompt_show_upstream)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue