prompt: remove fallback for $fish_color_host

This was mostly dead, since $fish_color_host is set to normal in
__fish_config_interactive. The assignment was only used if the user
explicitly unsets fish_color_host (which they shouldn't, really).
Anyway it's weird to use cyan, use normal instead.
[ci skip]
This commit is contained in:
Johannes Altmanninger 2019-12-11 10:28:38 +01:00
parent 2f1a5e65d8
commit 94b5720343
2 changed files with 0 additions and 7 deletions

View File

@ -5,9 +5,6 @@ function fish_prompt --description 'Write out the prompt'
set -l last_pipestatus $pipestatus
set -l normal (set_color normal)
set -q fish_color_host
or set -U fish_color_host -o cyan
# Color the prompt differently when we're root
set -l color_cwd $fish_color_cwd
set -l prefix

View File

@ -6,10 +6,6 @@ function fish_prompt --description 'Write out the prompt'
set -l last_status $status
set -l normal (set_color normal)
# Initialize our variables.
set -q fish_color_host
or set -U fish_color_host -o cyan
# Color the prompt differently when we're root
set -l color_cwd $fish_color_cwd
set -l prefix