feat(rc): Add support for vivid tool to beautify LS_COLORS

This commit is contained in:
2026-07-16 18:54:01 +02:00
parent 7e007b5b0d
commit f2c78152cc
+6 -1
View File
@@ -1,7 +1,12 @@
#!/bin/bash #!/bin/bash
# INFO:
#  vivid is a generator for the LS_COLORS environment variable that controls the colorized output of ls, tree, fd, bfs, dust and many other tools.
# ➜ https://github.com/sharkdp/vivid
# 💡Use command `vivid themes` to see available themes
if (command -v vivid &>/dev/null); then if (command -v vivid &>/dev/null); then
THEME=one-dark # Use command `vivid themes` to see available themes THEME=tokyonight-moon
LS_COLORS="$(vivid generate ${THEME})" LS_COLORS="$(vivid generate ${THEME})"
export LS_COLORS export LS_COLORS
fi fi