Fix some colors in fish prompt

This commit is contained in:
Kujiu 2023-09-06 02:28:03 +02:00
parent e838ab664b
commit 461027a83b
Signed by: kujiu
GPG key ID: ABBB2CAC6855599F
2 changed files with 2 additions and 2 deletions

View file

@ -176,7 +176,7 @@ function fish_prompt --description 'Write out the prompt'
echo -s $normal
echo -n -s (set_color --bold -b $color_bind $color_text) $char_bind
echo -n -s (set_color -b $color_status $color_bind) ''
echo -n -s (set_color -b $color_cwd $color_bind) ''
echo -n -s (set_color -b $color_cwd $color_text) $suffix
echo -n -s (set_color -b normal $color_cwd) ' ' $normal

View file

@ -40,7 +40,7 @@ function prompt_login --description "display user name for the prompt"
end
echo -n -s (set_color -b $color_user $color_dark_text) "$USER"
echo -n -s (set_color -b $color_host $fish_color_user)
echo -n -s (set_color -b $color_host $color_user)
echo -n -s (set_color -b $color_host $color_dark_text) (prompt_hostname)
echo -n -s (set_color -b $color_venv $color_host)
end