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 users to specify a maximum length for files/folders #1416

Open
BrendanMesters opened this issue Mar 13, 2025 · 0 comments
Open

Comments

@BrendanMesters
Copy link

Requested behaviour

I think a specific option, which could limit the name length displayed when using eza would be usefull.
This way your view would not be limited to one collumn by a single file with a long file name.

How would this look

You could add another option to eza, e.g. --max_length and set it to a value.

if you have a folder containing a file "foo_bar_baz.txt" for example, but you only want at most 8 characters to be dislpayed per file you could simply call

$ eza --max_length 8
> foo_bar_

Why is this necessary

Its not a high priority feature, but it would be very nice to set a reasonable limit (40 or 50 characters say), as I find that specifically the Downloads folder can sometimes be infested by random files with to long a name. This can also be a problem when saving papers under the full title.

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