duf icon indicating copy to clipboard operation
duf copied to clipboard

`--theme` ignored with CLICOLOR_FORCE=1

Open joliss opened this issue 1 year ago • 1 comments

When we're not in a terminal but force colors with CLICOLOR_FORCE=1, the theme seems to be always set to ansi, regardless of the --theme option. The following three commands produce the same output for me:

CLICOLOR_FORCE=1 duf --theme dark | cat
CLICOLOR_FORCE=1 duf --theme light | cat
CLICOLOR_FORCE=1 duf --theme ansi | cat

joliss avatar Jul 12 '23 21:07 joliss