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

feat: Allow skip check if dir is full or empty for icons #1002

Open
mooreye opened this issue May 22, 2024 · 0 comments
Open

feat: Allow skip check if dir is full or empty for icons #1002

mooreye opened this issue May 22, 2024 · 0 comments

Comments

@mooreye
Copy link

mooreye commented May 22, 2024

I use Borg Backup. It can mount its repo with FUSE, and then you get a mountpoint directory with Borg archives as subdirs. However, accessing each directory is very time consuming, it takes me about a minute to cd or ls into one of them.

By using eza --icons=always when in the main mountpoint, eza freezes and even seems impossible to ctrl+c. I strongly suspect this is due to determining for each dir if a dir is empty or not, as they use different icons.

It would be beneficial to add a flag to eza that allows to skip this single check, and use the same icon for full and empty dirs. This would allow use cases like this to keep it aliased to eza --icons=auto ... while avoiding such performance penalties, by sacrificing a minor detail in dir icon.

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