fish_prompt: remove stray initialization of fish_color_status

I can't reproduce the problem mentioned in 0420901cb2 (default prompt:
Set fish_color_status if unset, 2021-04-11).
This commit is contained in:
Johannes Altmanninger
2025-11-28 10:28:51 +01:00
parent daba5fdbcd
commit 655b1aa7a1
2 changed files with 0 additions and 4 deletions

View File

@@ -5,8 +5,6 @@ function fish_prompt --description 'Write out the prompt'
set -l last_pipestatus $pipestatus
set -lx __fish_last_status $status # Export for __fish_print_pipestatus.
set -l normal (set_color normal)
set -q fish_color_status
or set -g fish_color_status red
# Color the prompt differently when we're root
set -l color_cwd $fish_color_cwd

View File

@@ -5,8 +5,6 @@ function fish_prompt --description 'Write out the prompt'
set -l last_pipestatus $pipestatus
set -lx __fish_last_status $status # Export for __fish_print_pipestatus.
set -l normal (set_color normal)
set -q fish_color_status
or set -g fish_color_status red
# Color the prompt differently when we're root
set -l color_cwd $fish_color_cwd