qi: always make the srcdir directory
[dragora.git] / archive / coreutils / etc / profile.d / dircolors.sh
bloba30bc21ca67f08b7e08de6c31351abaae03f9863
2 # Output commands to set the LS_COLORS environment variable
3 if type dircolors > /dev/null
4 then
5 if test -r /etc/DIR_COLORS
6 then
7 eval "`dircolors -b /etc/DIR_COLORS`"
8 else
9 eval "`dircolors -b`"
13 # Make ls(1) aliases for the terminal
15 # Options:
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"
23 then
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'