-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
Setting foreground directory colors via style is broken? #620
Comments
Can you try unset LS_COLORS? Or set LS_COLORS accordingly using something like https://github.com/sharkdp/vivid... |
Unfortunately, running |
(I'm running this in zsh on Ubuntu, FWIW, but I figured I'd try both LS_COLORS and the macOS-/FreeBSD-style LSCOLORS just in case you were parsing both.) |
That being said — I think the bug actually mostly occurs if you:
When I manually set LS_COLORS, I feel like my expectation would be the following priority:
I could also understand (although would find vaguely surprising):
But instead it seems like:
Which seems like a bug? |
Do not default to a LS_COLOR theme. Fixes #620
Agree with Initially, I thought of giving LS_COLORS more priority because it's easier to change than But now I learned that applications by convention default to a set LS_COLORS theme even if it's not set or is set to an empty string, and it is expected to be overridden by the application specific theming. So yes, making LS_COLORS low priority makes more sense. |
Pls test #622 and let me know how it works... |
Update: With LS_COLOR having less priority, I think now it makes sense to unset the defaults. |
Such a fast fix! Tested and it works on my machine 😁 |
* Lower LS_COLORS priority Fixes: #620 * Remove default style * Fix doc markdown
Hello! I recently upgraded to v0.21.1 and noticed that the foreground directory colors looked a little off on my machine. Figuring that these were just the default color settings, I tried overwriting the foreground colors in two ways:
And, since that didn't work, I also tried just setting the attribute alone:
But still no dice. FWIW, setting the background color this way works; for example:
Works! So I'm guessing this is just a bug in merging the default directory color with the
init.lua
directory color?The text was updated successfully, but these errors were encountered: