+# dircolors only knows a terminal via its $TERM or a non-empty $COLORTERM,
+# and its database has no entry for foot's TERM=foot. So a shell that has
+# lost foot's COLORTERM=truecolor (e.g. root's, via "su -l", which keeps only
+# TERM) gets no LS_COLORS and hence no ls colors. Fill it in with a forced
+# COLORTERM in that case; an existing LS_COLORS is left alone.
+[ -n "${LS_COLORS}" ] || eval "$(COLORTERM=${COLORTERM:-truecolor} dircolors -b)"
alias ls="ls --color=auto"
-