mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-04-13 09:30:06 +00:00
reorder, prefer dir_colors in the home directory over global dir colors
This commit is contained in:
parent
b3c9a9c6e9
commit
cf7d1321d5
1 changed files with 1 additions and 1 deletions
|
@ -2,8 +2,8 @@
|
||||||
# colors
|
# colors
|
||||||
for dircolors in gdircolors dircolors ; do
|
for dircolors in gdircolors dircolors ; do
|
||||||
if (command -v $dircolors > /dev/null 2>&1) ; then
|
if (command -v $dircolors > /dev/null 2>&1) ; then
|
||||||
[ -f /etc/DIR_COLORS ] && eval `$dircolors -b /etc/DIR_COLORS` && break
|
|
||||||
[ -f "${HOME}/.dir_colors" ] && eval `$dircolors -b "${HOME}/.dir_colors"` && break
|
[ -f "${HOME}/.dir_colors" ] && eval `$dircolors -b "${HOME}/.dir_colors"` && break
|
||||||
|
[ -f /etc/DIR_COLORS ] && eval `$dircolors -b /etc/DIR_COLORS` && break
|
||||||
eval `$dircolors -b` && break
|
eval `$dircolors -b` && break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Reference in a new issue