Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--theme ignored with CLICOLOR_FORCE=1 #262

Open
joliss opened this issue Jul 12, 2023 · 1 comment · May be fixed by #287
Open

--theme ignored with CLICOLOR_FORCE=1 #262

joliss opened this issue Jul 12, 2023 · 1 comment · May be fixed by #287

Comments

@joliss
Copy link

joliss commented Jul 12, 2023

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
@Nikhils-179
Copy link

Hi @joliss , I would like to work on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants