mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-23 13:48:56 +08:00
Use a local variable
Otherwise this is annoying on upgrade
This commit is contained in:
parent
5f5bd03911
commit
113e91ab9a
@ -59,7 +59,7 @@ function ls --description "List contents of directory"
|
|||||||
# We don't set $COLORTERM because that should be set to
|
# We don't set $COLORTERM because that should be set to
|
||||||
# "truecolor" or similar and we don't want to specify that here.
|
# "truecolor" or similar and we don't want to specify that here.
|
||||||
test "$TERM_PROGRAM" = Apple_Terminal
|
test "$TERM_PROGRAM" = Apple_Terminal
|
||||||
and set -fx CLICOLOR 1
|
and set -lx CLICOLOR 1
|
||||||
|
|
||||||
command $__fish_ls_command $__fish_ls_color_opt $argv
|
command $__fish_ls_command $__fish_ls_color_opt $argv
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user