From b83b7e087f80ba27f22e2c052d079e7229087f7d Mon Sep 17 00:00:00 2001 From: Charles Gould Date: Fri, 12 Jun 2020 01:02:13 -0500 Subject: [PATCH] fish: fix deprecated stderr redirection --- fish/functions/fish_colors.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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