mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 23:24:39 +00:00
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:
parent
2dc1150e35
commit
1f0902a5f5
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue