default prompt: Use same status color as default theme

This was weird, because it changed around just because you picked a
separate theme (that didn't have a status color).

Simply use the same color here.
This commit is contained in:
Fabian Boehm 2022-07-19 17:05:48 +02:00
parent 2dc1150e35
commit 1f0902a5f5
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ function fish_prompt --description 'Write out the prompt'
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 --background=red white
or set -g fish_color_status red
# Color the prompt differently when we're root
set -l color_cwd $fish_color_cwd

View File

@ -6,7 +6,7 @@ function fish_prompt --description 'Write out the prompt'
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 --background=red white
or set -g fish_color_status red
# Color the prompt differently when we're root
set -l color_cwd $fish_color_cwd