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

Document what the color actually means #200

Closed
Drup opened this issue Aug 3, 2017 · 10 comments
Closed

Document what the color actually means #200

Drup opened this issue Aug 3, 2017 · 10 comments
Assignees
Labels
community › website exa’s public face

Comments

@Drup
Copy link

Drup commented Aug 3, 2017

exa prides itself for providing useful information through colors .... but doesn't actually list what they mean anywhere!

For example, I have literally no idea what underlined yellow is supposed to mean.

@manaskarekar
Copy link

I agree that it should be documented, but here's a quick reference.

https://github.com/ogham/exa/blob/master/src/output/colours.rs

@Drup
Copy link
Author

Drup commented Aug 3, 2017

That's a list, not a reference nor a documentation. I still have no idea what "immediate" files are. :)

@ogham ogham added the community › website exa’s public face label Aug 4, 2017
@ogham ogham self-assigned this Aug 4, 2017
@ogham
Copy link
Owner

ogham commented Aug 4, 2017

I agree, it's not clear.

@nijikokun
Copy link

@Drup for now perhaps these lines will help!

@Drup
Copy link
Author

Drup commented Aug 4, 2017

This is ... oddly specific, given the rest of the tool (and ls) only outlines concrete status of elements in the filesystem.

@laughedelic
Copy link

laughedelic commented Aug 4, 2017

Also it's unclear how README (only in caps, readme.md doesn't match) fits this definition:

An “immediate” file is something that can be run or activated somehow
in order to kick off the build of a project
. It’s usually only present
in directories full of source code.

I agree with @Drup that this is too specific and I think it's hard to define well and implement. So it will lead more to inconsistencies and users confusion:

"why is my readme in one project is bold yellow and in another it's not? ah, this coloring means that it's an "immediate" file! wait, but then why build.sbt in my Scala project is not highlighted, but the readme is?!"

@majutsushi
Copy link

Defining file types like these would be much better done by respecting $LS_COLORS (see #116) than by having a hardcoded list in exa itself.

@thedarkfalcon
Copy link

I wondered what the yellow underlining meant, couldn't figure it out so ran exa --help no information there, went to the exa main website.. no information there, so I looked in the release notes.. no information there.. looked on the github project page... no information there.. Thankfully someone made a github issue to ask 😂

@ogham
Copy link
Owner

ogham commented Sep 30, 2017

Oh, this was #261 too.

I've now added some documentation to the man page that says what the colours mean, how to customise them, and how to turn them off.

@vii33
Copy link

vii33 commented Dec 23, 2022

Had the same issue, found this thread. I took @ogham 's notes and put them into a proper markdown format: https://github.com/ogham/exa/blob/c1c88dbbf30da4fbf7b3c98fe8cd545961edda60/man/exa-colors-explanation.md

Hopefully this helps others as well.

Great peace of software by the way 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community › website exa’s public face
Projects
None yet
Development

No branches or pull requests

8 participants