fish: fix deprecated stderr redirection
This commit is contained in:
parent
d682d6aa90
commit
b83b7e087f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user