unset LS_COLORS before changing it

This commit is contained in:
tastytea 2022-04-01 03:49:14 +02:00
parent 23a3a2bf4d
commit 6404f6ce53
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM

View File

@ -144,6 +144,7 @@ function _gen_lscolor()
print -n ":*.${ext}=${color}"
done
}
unset LS_COLORS
# Program code (rose)
LS_COLORS="${LS_COLORS}$(_gen_lscolor "38;5;177" cpp cxx c++ c go rs)"
LS_COLORS="${LS_COLORS}$(_gen_lscolor "38;5;177" py rb el ebuild zsh sh bash pl php phtml qml)"