From 1f0902a5f50a6b642789b87c77d8f77bb12fa65e Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Tue, 19 Jul 2022 17:05:48 +0200 Subject: [PATCH] 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. --- share/functions/fish_prompt.fish | 2 +- share/tools/web_config/sample_prompts/default.fish | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/share/functions/fish_prompt.fish b/share/functions/fish_prompt.fish index fc76a8331..7c7ce4598 100644 --- a/share/functions/fish_prompt.fish +++ b/share/functions/fish_prompt.fish @@ -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 diff --git a/share/tools/web_config/sample_prompts/default.fish b/share/tools/web_config/sample_prompts/default.fish index fc76a8331..7c7ce4598 100644 --- a/share/tools/web_config/sample_prompts/default.fish +++ b/share/tools/web_config/sample_prompts/default.fish @@ -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