Skip to content
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

Use $LS_COLORS to display the colors of the file names if possible. #73

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xuhdev
Copy link

@xuhdev xuhdev commented Oct 19, 2016

Close #19.


If LS_COLORS is not defined, eval $(dircolors) should define a good default LS_COLORS. We can also add that when LS_COLORS is not defined.

@xuhdev xuhdev force-pushed the gnu-ls-color branch 2 times, most recently from 4ef41b3 to 066793c Compare October 19, 2016 08:56
@xuhdev
Copy link
Author

xuhdev commented Oct 19, 2016

It's totally possible to avoid calling ls by parsing $LS_COLORS, but can the shell script version do faster than leaving the task to a fast program in native code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant