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 · 0 comments
Open

--theme ignored with CLICOLOR_FORCE=1 #262

joliss opened this issue Jul 12, 2023 · 0 comments

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
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

No branches or pull requests

1 participant