lsd-rs/lsd

Add `ls_colors` option to theme

オープン

#608 opened on 2022/01/17

 (2 件のコメント) (4 件のリアクション) (0 人の担当者)Rust (434 件のフォーク)batch import
area/themegood first issuekind/enhancement

Repository metrics

Stars
 (13,400 個のスター)
PR merge metrics
 (平均マージ 34d 3h) (30d で 2 merged PRs)

説明

As of now, we support theme for colors, and still use ls_colors for file name colors, how about adding the ls_colors option to the theme configuration file, and so that we can configure all the colors in one place.

also, there is something that needs to be covered:

  1. the ls_colors in the theme should be optional, and fall back to LS_COLORS env
  2. the one in themes should overwrite the env one

@meain

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