2 # Output commands to set the LS_COLORS environment variable
3 if type dircolors
> /dev
/null
5 if test -r /etc
/DIR_COLORS
7 eval "`dircolors -b /etc/DIR_COLORS`"
13 # Make ls(1) aliases for the terminal
17 # -b Print C-style escapes for nongraphic characters
18 # -C List entries by columns
19 # -l Use a long listing format
20 # -T Assume tab stops at each COLS instead of 8
22 if test -n "$LS_COLORS"
24 alias ls='ls -T 0 --color=auto'
25 alias dir
='ls -C -b -T 0 --color=auto'
26 alias vdir='ls -l -b -T 0 --color=auto'