-
-
Couldn't load subscription status.
- Fork 338
Description
When called without a file or directory name argument, both ls and eza before v0.23.0 print the contents of the current directory to stdout.
With v0.23.0, eza no longer prints the contents of the current directory to stdout. Is that intentional? This seems like a pretty significant departure from the behaviour of ls and should probably be reconsidered, if so.
I believe this behaviour change is actually what is driving #1563, and likely #1566.
To make reproduction transparent, I created a repository that shows this behaviour in GitHub Actions: https://github.com/carlocab/eza-bug-1563
In the latest workflow run, we can see that ls -la prints the contents of the current directory, but eza -la does not. The eza binary used here was downloaded from your v0.23.0 release.
It might be that this behaviour change manifests only when the terminal is not a TTY, but I don't actually have a Linux machine on hand so I can't test this easily myself.