Exa: Document what the color actually means

Created on 4 Aug 2017  ·  9Comments  ·  Source: ogham/exa

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.

community › website

Most helpful comment

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.

All 9 comments

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

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

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

I agree, it's not clear.

@Drup for now perhaps these lines will help!

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

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?!"

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.

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 😂

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.

Was this page helpful?
0 / 5 - 0 ratings