author | Mikael Berthe <mikael@lilotux.net> |
Fri, 04 Aug 2023 17:48:00 +0200 | |
changeset 57 | 49c07618b1bc |
parent 13 | e1da4a7a9e92 |
permissions | -rw-r--r-- |
13 | 1 |
|
2 |
# You can customize ls colors by generating the file /etc/LS_COLORS |
|
3 |
# (using "dircolors --print-database > /etc/LS_COLORS") and |
|
4 |
# updating it. |
|
5 |
# Check 'man dircolors' for more information. |
|
6 |
# Thanks to Antoine Vouillon and Farzad Farid. |
|
7 |
||
8 |
if [[ -x /usr/bin/dircolors ]]; then |
|
9 |
if [[ -e /etc/LS_COLORS ]]; then |
|
10 |
eval $(dircolors -b /etc/LS_COLORS) |
|
11 |
else |
|
12 |
eval $(dircolors -b) |
|
13 |
fi |
|
14 |
LS_OPTIONS=(--color=auto) |
|
15 |
export LS_OPTIONS |
|
16 |
fi |