Skip to content

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

Closed
ptcar2009 wants to merge 2 commits into
ogham:masterfrom
ptcar2009:master
Closed

Adds "almost all" flag (-A) for compatibility with zsh's la alias#1049
ptcar2009 wants to merge 2 commits into
ogham:masterfrom
ptcar2009:master

Conversation

@ptcar2009

Copy link
Copy Markdown

No description provided.

@ariasuni ariasuni left a comment

Copy link
Copy Markdown
Collaborator

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

Comment thread src/options/filter.rs Outdated
Co-authored-by: Mélanie Chauvel <perso@hack-libre.org>
@ariasuni

Copy link
Copy Markdown
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