fix(zsh): track dircolors file

This commit is contained in:
2025-05-01 01:45:41 +02:00
parent d48ed3960d
commit be541c1422
2 changed files with 250 additions and 7 deletions
+2 -7
View File
@@ -61,13 +61,8 @@ export MESA_WHICH_LLVM=1
# LS_COLORS #
#############
_dircolors="${_cache_dir}/dircolors"
if [ ! -e "$_dircolors" ]; then
dircolors -b >"$_dircolors"
fi
source "$_dircolors"
_dircolors="${_here}/dircolors"
eval "$(dircolors -b "$_dircolors")"
unset _dircolors