eza-community/eza

feat: better quotations around filenames with space

オープン

#728 opened on 2023/12/15

 (3 件のコメント) (2 件のリアクション) (0 人の担当者)Rust (439 件のフォーク)batch import
area: displaygood first issuetype: feature

Repository metrics

Stars
 (21,783 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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!

コントリビューターガイド