Fix Informative VCS sample prompt invalid state

The Informative VCS sample prompt currently sets the `__fish_git_prompt_char_conflictedstate` variable which is unused.
It should instead set the `__fish_git_prompt_char_invalidstate` variable.
This commit is contained in:
Maximilien Mellen 2018-08-03 16:06:56 +02:00 committed by ridiculousfish
parent a536d2bc1f
commit 78cac07d3c

View file

@ -38,8 +38,8 @@ function fish_prompt --description 'Write out the prompt'
if not set -q __fish_git_prompt_char_untrackedfiles
set -g __fish_git_prompt_char_untrackedfiles "…"
end
if not set -q __fish_git_prompt_char_conflictedstate
set -g __fish_git_prompt_char_conflictedstate "✖"
if not set -q __fish_git_prompt_char_invalidstate
set -g __fish_git_prompt_char_invalidstate "✖"
end
if not set -q __fish_git_prompt_char_cleanstate
set -g __fish_git_prompt_char_cleanstate "✔"