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

How to default -t to modified -r #980

Open
p1r473 opened this issue May 9, 2024 · 0 comments
Open

How to default -t to modified -r #980

p1r473 opened this issue May 9, 2024 · 0 comments

Comments

@p1r473
Copy link

p1r473 commented May 9, 2024

Hi,
Is there any way I can change the default behaviour of eza -t to eza -t modified -r to support backwards-compatibility with ls commands
I was going over some old scripts which stopped working and I was digging into why
It broke when I switched from ls to eza, the reason being is that ls -t defaulted to modified -r, whereas eza defaults to error

eza: Flag -t needs a value (choices: modified, changed, accessed, created)
To sort newest files last, try "--sort newest", or just "-snew"  
@p1r473 p1r473 changed the title feat: default -t to modified How to default -t to modified -r May 9, 2024
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

1 participant