prompts/disco: Use $fish_color_status for the status
That's what it's for.
This commit is contained in:
parent
69b28fc490
commit
772a367365
@ -36,7 +36,7 @@ function fish_prompt
|
||||
|
||||
# Prompt status only if it's not 0
|
||||
set -l prompt_status
|
||||
test $last_status -ne 0; and set prompt_status (set_color $fish_color_error)"[$last_status]$normal"
|
||||
test $last_status -ne 0; and set prompt_status (set_color $fish_color_status)"[$last_status]$normal"
|
||||
|
||||
# Only show host if in SSH or container
|
||||
# Store this in a global variable because it's slow and unchanging
|
||||
|
Loading…
x
Reference in New Issue
Block a user