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

Adds "almost all" flag (-A) for compatibility with zsh's la alias #1049

Closed
wants to merge 2 commits into from

Conversation

ptcar2009
Copy link

No description provided.

Copy link
Collaborator

@ariasuni ariasuni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, the problem here is that your code change doesn’t handle the conflict between -a and -A. In exa in general, when using two contradictory flags, the latter is used. But here, exa -aaA would mean exa -aa, which is not quite what we want.

I think you should look at how --oneline overrides --long, for example.

Also, -AA should produce an error, see:
https://github.com/ogham/exa/pull/1049/files#diff-e691d70a9f56ceed21c51d53fe510b25dcc42814c641795e327ff141aaf704bdR172-R174

src/options/filter.rs Outdated Show resolved Hide resolved
Co-authored-by: Mélanie Chauvel <perso@hack-libre.org>
@ariasuni
Copy link
Collaborator

Closing this since exa is unmaintained (see #1243), and this has been done in the active fork eza.

(see eza-community/eza#43)

@ariasuni ariasuni closed this Sep 28, 2023
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.

2 participants