mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-28 12:13:55 +08: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
|
@ -6,7 +6,7 @@ function fish_prompt --description 'Write out the prompt'
|
||||||
set -lx __fish_last_status $status # Export for __fish_print_pipestatus.
|
set -lx __fish_last_status $status # Export for __fish_print_pipestatus.
|
||||||
set -l normal (set_color normal)
|
set -l normal (set_color normal)
|
||||||
set -q fish_color_status
|
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
|
# Color the prompt differently when we're root
|
||||||
set -l color_cwd $fish_color_cwd
|
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 -lx __fish_last_status $status # Export for __fish_print_pipestatus.
|
||||||
set -l normal (set_color normal)
|
set -l normal (set_color normal)
|
||||||
set -q fish_color_status
|
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
|
# Color the prompt differently when we're root
|
||||||
set -l color_cwd $fish_color_cwd
|
set -l color_cwd $fish_color_cwd
|
||||||
|
|
Loading…
Reference in New Issue
Block a user