Skip to content

Feature request: separate colouring for "special" branches #670

@jvacek

Description

@jvacek

I would like to have a separate colour for my master/main branches. I'm not sure whether the main/only usecase for this would be protected branches, so not too sure about the naming of the vars

Would it be possible to get the following?

  • an env var such as PURE_GIT_PROTECTED_BRANCHES that can hold a string with spaces separating the branches
    • defaulting to something like PURE_GIT_PROTECTED_BRANCHES="master main prod" etc.)
  • New colours for:
    • git:branch:protected
    • git:branch:protected:cached

Curious what you think, or whether there are already ways to achieve that.

Thanks in advance!

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