mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 04:13:08 +00:00
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:
parent
a536d2bc1f
commit
78cac07d3c
1 changed files with 2 additions and 2 deletions
|
@ -38,8 +38,8 @@ function fish_prompt --description 'Write out the prompt'
|
||||||
if not set -q __fish_git_prompt_char_untrackedfiles
|
if not set -q __fish_git_prompt_char_untrackedfiles
|
||||||
set -g __fish_git_prompt_char_untrackedfiles "…"
|
set -g __fish_git_prompt_char_untrackedfiles "…"
|
||||||
end
|
end
|
||||||
if not set -q __fish_git_prompt_char_conflictedstate
|
if not set -q __fish_git_prompt_char_invalidstate
|
||||||
set -g __fish_git_prompt_char_conflictedstate "✖"
|
set -g __fish_git_prompt_char_invalidstate "✖"
|
||||||
end
|
end
|
||||||
if not set -q __fish_git_prompt_char_cleanstate
|
if not set -q __fish_git_prompt_char_cleanstate
|
||||||
set -g __fish_git_prompt_char_cleanstate "✔"
|
set -g __fish_git_prompt_char_cleanstate "✔"
|
||||||
|
|
Loading…
Reference in a new issue