Open xuhdev opened 7 years ago
Close #19.
If LS_COLORS is not defined, eval $(dircolors) should define a good default LS_COLORS. We can also add that when LS_COLORS is not defined.
LS_COLORS
eval $(dircolors)
It's totally possible to avoid calling ls by parsing $LS_COLORS, but can the shell script version do faster than leaving the task to a fast program in native code?
ls
$LS_COLORS
Close #19.
If
LS_COLORS
is not defined,eval $(dircolors)
should define a good defaultLS_COLORS
. We can also add that whenLS_COLORS
is not defined.