eza-community/eza

feat: better quotations around filenames with space

Aberta

#728 aberto em 15 de dez. de 2023

 (3 comentários) (2 reações) (0 responsável)Rust (439 forks)batch import
area: displaygood first issuetype: feature

Métricas do repositório

Stars
 (21.783 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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!

Guia do colaborador