Repaint also for fish_color_{host_remote,error}

These are used in our prompts as well.
This commit is contained in:
Fabian Homborg 2020-12-11 20:55:09 +01:00
parent ff62d172e5
commit 2aaa51e02e

View file

@ -115,7 +115,7 @@ function __fish_config_interactive -d "Initializations that should be performed
# autoloaded.
#
set -l varargs --on-variable fish_key_bindings
for var in user host cwd{,_root} status
for var in user host{,_remote} cwd{,_root} status error
set -a varargs --on-variable fish_color_$var
end
function __fish_repaint $varargs -d "Event handler, repaints the prompt when fish_color_cwd* changes"