Skip to content

--theme ignored with CLICOLOR_FORCE=1 #262

Description

@joliss

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions