# color-ls initialization set COLORS=/etc/DIR_COLORS if ($?TERM) then test -e "/etc/DIR_COLORS.$TERM" && set COLORS="/etc/DIR_COLORS.$TERM" endif test -f ~/.dircolors && set COLORS=~/.dircolors if ($?TERM) then test -f "~/.dircolors.$TERM" && set COLORS="~/.dircolors.$TERM" endif test -f ~/.dir_colors && set COLORS=~/.dir_colors if ($?TERM) then test -f "~/.dir_colors.$TERM" && set COLORS="~/.dir_colors.$TERM" endif if (-e "$COLORS") then eval `dircolors -c "$COLORS"` endif if ($?TERM) then if ($TERM == "emacs") then alias ls 'ls -N' else alias ls 'ls --color=auto' endif endif