Skip to content

default -t to modified -r to be backward compatible with ls #980

@p1r473

Description

@p1r473

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"  

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions