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

exa -l does not show group info? #1118

Closed
laoshaw opened this issue Sep 6, 2022 · 7 comments
Closed

exa -l does not show group info? #1118

laoshaw opened this issue Sep 6, 2022 · 7 comments

Comments

@laoshaw
Copy link

laoshaw commented Sep 6, 2022

If exa does something unexpected, or its output looks wrong, or it displays an error on the screen, or if it outright crashes, then please include the following information in your report:

  • The version of exa being used (exa --version) : v0.10.1
  • The command-line arguments you are using: exa -l
  • Your operating system and hardware platform: ubuntu 20.04

If it’s a crash, please include the full text of the crash that gets printed to the screen. If you’re seeing unexpected behaviour, a screenshot of the issue will help a lot.


ls -l will list both user and group info
exa -l only list user info, group info is missing

@laoshaw
Copy link
Author

laoshaw commented Sep 6, 2022

image

@eggbean
Copy link

eggbean commented Sep 11, 2022

You need to add the -g switch to get the group column.

eg.

$ exa -lg

@laoshaw
Copy link
Author

laoshaw commented Sep 11, 2022

Thanks!

@laoshaw laoshaw closed this as completed Sep 11, 2022
@mtalexan
Copy link

mtalexan commented Aug 14, 2023

You need to add the -g switch to get the group column.

eg.

$ exa -lg

Doesn't that make it a digression? My understanding was that exa was trying to be a drop-in replacement for ls for the common options. ls -l and ls -la are so common most distros have aliases for them: ll and lla. While it's reasonable to add more info to what the exa -l option displays, it needs to include at least the same info as ls -l.

I believe just making -l imply -g as well would satisfy this.

@eggbean
Copy link

eggbean commented Aug 14, 2023

I suppose the reasoning is removing unnecessary information which you don't really need.

You can make exa pretty much like ls if you alias ls to this script - https://gist.github.com/eggbean/74db77c4f6404dd1f975bd6f048b86f8

@mtalexan
Copy link

Excellent script. It would be really awesome if we could get a link to it in the README.

I suspect you're right about the reasoning, even though it's very flawed (group is needed about as often as owner)

@ariasuni
Copy link
Collaborator

ariasuni commented Sep 6, 2023

It’s very very rare that I need to show the group of a file, personally. I don’t think I’ve used the feature for more than a year, except to test exa and debug the feature itself.

But if you think it should be changed, please open an issue at active fork eza, since exa is unmaintained (see #1243).

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

No branches or pull requests

4 participants