Giter Site home page Giter Site logo

Allow putting directories on top about exa HOT 4 CLOSED

ogham avatar ogham commented on May 4, 2024
Allow putting directories on top

from exa.

Comments (4)

ogham avatar ogham commented on May 4, 2024

If ls does it, there's no reason why exa shouldn't.

from exa.

tomassedovic avatar tomassedovic commented on May 4, 2024

Awesome, thanks :-).

What's the general approach with ls-compatibility? Some of the options are already different: -h in ls means "show file sizes in a human readable format" which exa does by default and there it means "show the header row".

Are you shooting for a similar feature set (but nicer defaults and new stuff like the git support) but possibly different options? Or is it more of a case-by-case thing?

from exa.

ogham avatar ogham commented on May 4, 2024

It's more the former, but there will be things I'll have to decide on a case-by-case basis. In a way, I'm thinking: if it were up to me to write ls, how would I write it? I would have used prefixes by default, since that's what you want >99% of the time - which just happens to free up -h. I think showing groups by default clutters up the output, so instead of having an option to take them away, there's an option to add them. However, I also get the benefit that exa isn't installed by default, so I get to add features like Git support that some people would consider "bloat".

Just because ls has something doesn't automatically mean that exa should support it too - but it looks like showing directories first is a popular-enough option that it should be included. (For what it's worth, I have no idea why anyone would ever choose that option, but as long as some people like it!)

from exa.

ogham avatar ogham commented on May 4, 2024

screen shot 2015-02-26 at 14 03 20

from exa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.