ogham / exa

A modern replacement for ‘ls’.
https://the.exa.website/
MIT License
23.63k stars 661 forks source link

Use json to store icons information for different extension/filename/pattern #1138

Closed Freed-Wu closed 1 year ago

Freed-Wu commented 2 years ago
  1. It is easier to edit even for those contributors is not familiar with rust
  2. It is easier to compare the difference between this project's icon and other projects which provide icon display, so we can add icons more easily.
  3. It is easier to sort json by jq

Just my 2c, TIA!

Freed-Wu commented 2 years ago

Just like https://github.com/lambdalisue/nerdfont.vim/blob/master/assets/json/extension.json

jnordwick commented 1 year ago

why json and not line delimited?

Freed-Wu commented 1 year ago

why json and not line delimited?

It is also OK. I just think perhaps parse json is easier (with library).

Freed-Wu commented 1 year ago

https://github.com/eza-community/eza/issues/440