diff --git a/fish/functions/fish_colors.fish b/fish/functions/fish_colors.fish index 7cc37bb..077eb9b 100644 --- a/fish/functions/fish_colors.fish +++ b/fish/functions/fish_colors.fish @@ -18,7 +18,7 @@ function fish_colors --description 'Print the fish color variables' echo '|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|' for variable in $color_list set -l value $$variable - set -l color (set_color $value ^/dev/null) + set -l color (set_color $value 2>/dev/null) or begin printf "| %-32s | %s%-38s | %-22s |\n" "$variable" (set_color --bold white --background=red) "$value" "The quick brown fox..." continue