From 113e91ab9a0b02edf34f112944b5cb0aa621110f Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Fri, 24 Sep 2021 18:17:49 +0200 Subject: [PATCH] Use a local variable Otherwise this is annoying on upgrade --- share/functions/ls.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/ls.fish b/share/functions/ls.fish index dd58e7176..2517387cb 100644 --- a/share/functions/ls.fish +++ b/share/functions/ls.fish @@ -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