eza-community/eza

feat: better quotations around filenames with space

Open

#728 opened on Dec 15, 2023

View on GitHub
 (3 comments) (2 reactions) (0 assignees)Rust (21,783 stars) (439 forks)batch import
good first issueoutput

Description

Hello,

reposting here my suggestions from #318 :

I think the different color for eza quotes from @ariasuni is a great idea, cause as it is it's hard to see at a glance that it was added by eza and not part of the name. Maybe using the same color but more pale or darker? Since it's mostly a technicality it does not need to be as visible as the rest.

Also is it possible to have the same type of quotes for all? For instance if a folder uses single quotes in its filename eza will add double quote for that folder but will still use single quotes for the rest, it's kind of messy.

Quotes also break alignment I'd say, is it possible to add a spacing to those that don't need quotes, or maybe someone has a better idea for that? Adding quotes to all? Not sure.

Thank you!

Contributor guide