+# GNU ls with colors available.
+if ls --color >/dev/null 2>&1; then
+ ls_args='command ls --color'
+# Normal (BSD) ls with colors available.
+elif ls -G >/dev/null 2>&1; then
+ # Don't display hidden files by default when running as root (-I), I use
+ # `la` for that.
+ ls_args='CLICOLOR_FORCE=1 command ls -G -I'
+# Simple ls with no colors.