nutools/lib/bashrc.d/color_ls.[Linux]

11 lines
271 B
Bash

# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
if [ -n "$UTOOLS_LS_ALIASES" ]; then
if [ -r /etc/DIR_COLORS ]; then
eval `dircolors -b /etc/DIR_COLORS`
else
eval `dircolors -b`
fi
alias ls="ls --color=auto -F"
fi