Репозитории ALT
S: | 9.4.0.24.75e248-alt1 |
5.1: | 7.6-alt1 |
4.1: | 6.11-alt1 |
4.0: | 5.97-alt6 |
3.0: | 5.3.1-alt0.4 |
Другие репозитории
Upstream: | 8.1pl3 |
Группа :: Система/Основа
Пакет: coreutils
Главная Изменения Спек Патчи Исходники Загрузить Gear Bugs and FR Repocop
# color-ls initialization
COLORS=/etc/DIR_COLORS
if [ -f "/etc/DIR_COLORS.$TERM" -a -r "/etc/DIR_COLORS.$TERM" ]; then
COLORS="/etc/DIR_COLORS.$TERM"
fi
if [ -f "$HOME/.dircolors" -a -r "$HOME/.dircolors" ]; then
COLORS="$HOME/.dircolors"
fi
if [ -f "$HOME/.dircolors.$TERM" -a -r "$HOME/.dircolors.$TERM" ]; then
COLORS="$HOME/.dircolors.$TERM"
fi
if [ -f "$HOME/.dir_colors" -a -r "$HOME/.dir_colors" ]; then
COLORS="$HOME/.dir_colors"
fi
if [ -f "$HOME/.dir_colors.$TERM" -a -r "$HOME/.dir_colors.$TERM" ]; then
COLORS="$HOME/.dir_colors.$TERM"
fi
if [ -f "$COLORS" -a -r "$COLORS" ]; then
eval `dircolors --sh "$COLORS" ||:`
fi
if [ -z "${SHELL#*bash}" -o -z "${SHELL#*zsh}" ]; then
if [ "$TERM" = "emacs" ]; then
alias ls='ls -N'
else
alias ls='ls --color=auto'
fi
fi