uu_dircolors 0.0.26

dircolors ~ (uutils) display commands to set LS_COLORS
Documentation

How to update the internal database

Create the test fixtures by writing the output of the GNU dircolors commands to the fixtures folder:

dircolors --print-database > /PATH_TO_COREUTILS/tests/fixtures/dircolors/internal.expected
dircolors --print-ls-colors > /PATH_TO_COREUTILS/tests/fixtures/dircolors/ls_colors.expected
dircolors -b > /PATH_TO_COREUTILS/tests/fixtures/dircolors/bash_def.expected
dircolors -c > /PATH_TO_COREUTILS/tests/fixtures/dircolors/csh_def.expected

Run the tests:

cargo test --features "dircolors" --no-default-features

Edit /PATH_TO_COREUTILS/src/uu/dircolors/src/colors.rs until the tests pass.