function __fisher_config_color_reset if test ! -f "$fisher_config/fish_colors" set -U fish_color_normal normal set -U fish_color_command 005fd7 purple set -U fish_color_param 00afff cyan set -U fish_color_redirection normal set -U fish_color_comment red set -U fish_color_error red --bold set -U fish_color_escape cyan set -U fish_color_operator cyan set -U fish_color_quote brown set -U fish_color_autosuggestion 555 yellow set -U fish_color_valid_path --underline set -U fish_color_cwd green set -U fish_color_cwd_root red set -U fish_color_match cyan set -U fish_color_search_match --background=purple set -U fish_color_selection --background=purple set -U fish_pager_color_prefix cyan set -U fish_pager_color_completion normal set -U fish_pager_color_description 555 yellow set -U fish_pager_color_progress cyan set -U fish_color_history_current cyan return end set -l IFS \n read -laz fish_colors < $fisher_config/fish_colors set -U fish_color_normal (echo $fish_colors[1] | tr " " \n) set -U fish_color_command (echo $fish_colors[2] | tr " " \n) set -U fish_color_param (echo $fish_colors[3] | tr " " \n) set -U fish_color_redirection (echo $fish_colors[4] | tr " " \n) set -U fish_color_comment (echo $fish_colors[5] | tr " " \n) set -U fish_color_error (echo $fish_colors[6] | tr " " \n) set -U fish_color_escape (echo $fish_colors[7] | tr " " \n) set -U fish_color_operator (echo $fish_colors[8] | tr " " \n) set -U fish_color_quote (echo $fish_colors[9] | tr " " \n) set -U fish_color_autosuggestion (echo $fish_colors[10] | tr " " \n) set -U fish_color_valid_path (echo $fish_colors[11] | tr " " \n) set -U fish_color_cwd (echo $fish_colors[12] | tr " " \n) set -U fish_color_cwd_root (echo $fish_colors[13] | tr " " \n) set -U fish_color_match (echo $fish_colors[14] | tr " " \n) set -U fish_color_search_match (echo $fish_colors[15] | tr " " \n) set -U fish_color_selection (echo $fish_colors[16] | tr " " \n) set -U fish_pager_color_prefix (echo $fish_colors[17] | tr " " \n) set -U fish_pager_color_completion (echo $fish_colors[18] | tr " " \n) set -U fish_pager_color_description (echo $fish_colors[19] | tr " " \n) set -U fish_pager_color_progress (echo $fish_colors[20] | tr " " \n) set -U fish_color_history_current (echo $fish_colors[21] | tr " " \n) rm -f $fisher_config/fish_colors end