supercrabtree / k

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

Allow custom colors with env variables #86

Open eljulians opened 6 years ago

eljulians commented 6 years ago

As proposed in issue #85, I modified k to allow color customization with env variables.

Please feel free to suggest any change or to make them yourself. :)

supercrabtree commented 6 years ago

Hey, thanks for this. What operating system are you on? If you are using Mac then you can control the colours using $LSCOLORS ala https://unix.stackexchange.com/questions/2897/clicolor-and-ls-colors-in-bash#2904

If you are on linux you could use $LS_COLORS although as I am not on linux I have not implemented this yet.