-
Notifications
You must be signed in to change notification settings - Fork 14
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
respect ~/.dircolors #17
Comments
It is not implemented yet. Although it might not be that difficult. I have never used ~/.dircolors myself so idk how it works. Do you mind posting that file? |
Here's the content of ~/.dircolors: https://github.com/Kidlike/dircolors-zenburn/blob/55c1dee1e532c7469ffea7c4fc9619fc8c555d89/dircolors (It should work out of the box) I haven't changed any code. But I have a somewhat complicated setup: https://github.com/Kidlike/dotfiles#terminal
|
Is the Term section required for coloring too? what does that do? And i am guessing that alignment is incorrect due to lack of icon fonts perhaps 🤔 |
I think the TERM section is supported Hm... possibly because of Font. I'm using |
I see now that nerd-fonts supports |
I think the alignment issue was related to the fonts. After switching to nerd-fonts the alignment looks correct. |
ok yea, that's nice to know. Thanks :) |
Any hope for |
yea i am sorry i haven't the time to implement it right now but i hope to do that soon :) thanks 👍 |
cool, I was just wandering where this stands. cheers ! :) |
hey can you, by any chance give me a brief explanation of the colors in this file and their conversion to the escape code of terminal? If you can that would be much appreciated :) |
I think all numbers in this file come from ansi escape codes and colors. The values are As per the above link, codes 38 and 48 are foreground/background setters respectively. There's some info here too : https://linux.die.net/man/5/dir_colors |
I tried ls_extended but it seems that it doesn't respect my ~/.dircolors.
Am I missing something or is this not implemented ?
Would it be difficult to implement ?
Screenshot:
https://i.imgur.com/TNpbWJC.png
The text was updated successfully, but these errors were encountered: