supercrabtree / k

k is the new l, yo
1.78k stars 123 forks source link

Allow custom colors #85

Open eljulians opened 6 years ago

eljulians commented 6 years ago

First of all, thanks for your work! I really like k.

It would be great to have the chance to define custom colors, with environmental variables, as the predefined ones may not be suitable for every terminal color scheme

HaleTom commented 6 years ago

GNU ls respects $LS_COLORS.

The killer plugin to set this variable for hundreds of filetypes is: https://github.com/trapd00r/LS_COLORS

@julenpardo would #86 support this?

V4G4X commented 1 year ago

The way the branch name master shows up here, I was hoping if we could have an option to have it show up in a different color.
In my terminal, my background and brightness is often dark, so that the branch name isn't legible.

Similarly, is it possible to disable the rotting dates feature specifically?

image

For now I've had a workaround to change K_COLOR_BR to a different value like "0;33"(yellow).
But I'm sure that will cause issue whenever there's new commits.