Use a local variable

Otherwise this is annoying on upgrade
This commit is contained in:
Fabian Homborg 2021-09-24 18:17:49 +02:00
parent 5f5bd03911
commit 113e91ab9a

View file

@ -59,7 +59,7 @@ function ls --description "List contents of directory"
# We don't set $COLORTERM because that should be set to
# "truecolor" or similar and we don't want to specify that here.
test "$TERM_PROGRAM" = Apple_Terminal
and set -fx CLICOLOR 1
and set -lx CLICOLOR 1
command $__fish_ls_command $__fish_ls_color_opt $argv
end