Add setup colors function

This commit is contained in:
Gabriel Augendre 2023-02-07 10:20:38 +01:00
parent c0e55e41ce
commit c25811e614

View file

@ -0,0 +1,32 @@
function setup_colors
set -U fish_color_autosuggestion 555 brblack
set -U fish_color_cancel -r
set -U fish_color_command --bold
set -U fish_color_comment red
set -U fish_color_cwd green
set -U fish_color_cwd_root red
set -U fish_color_end brmagenta
set -U fish_color_error brred
set -U fish_color_escape bryellow --bold
set -U fish_color_history_current --bold
set -U fish_color_host normal
set -U fish_color_host_remote yellow
set -U fish_color_match --background=brblue
set -U fish_color_normal normal
set -U fish_color_operator bryellow
set -U fish_color_param cyan
set -U fish_color_quote yellow
set -U fish_color_redirection brblue
set -U fish_color_search_match bryellow --background=brblack
set -U fish_color_selection white --bold --background=brblack
set -U fish_color_status red
set -U fish_color_user brgreen
set -U fish_color_valid_path --underline
set -U fish_pager_color_completion
set -U fish_pager_color_description B3A06D yellow
set -U fish_pager_color_prefix white --bold --underline
set -U fish_pager_color_progress brwhite --background=cyan
set -U fish_pager_color_selected_background -r
echo "Fish colors have been set(B"
end