mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 06:41:42 +08:00
don't use set_color reset
There was a discussion recently on Gitter about `set_color reset`. The
result was @floam creating commit bd03c3fbc
to change it to `set_color
normal` in share/functions/vared.fish. This does the same for
tests/test_util.fish.
This commit is contained in:
parent
5eb1ef4b4a
commit
2e81ade66a
|
@ -109,7 +109,7 @@ function say -V suppress_color
|
|||
|
||||
if begin; test -n "$suppress_color"; or set_color $color_flags $argv[1]; end
|
||||
printf '%s' $argv[2..-1]
|
||||
test -z "$suppress_color"; and set_color reset
|
||||
test -z "$suppress_color"; and set_color normal
|
||||
if test -z "$suppress_newline"
|
||||
echo
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user