mirror of
https://github.com/lsd-rs/lsd
synced 2024-12-13 21:52:37 +00:00
📝 add filename coloring explanation between LS_COLOR and theme
Signed-off-by: zwPapEr <zw.paper@gmail.com>
This commit is contained in:
parent
fc7d2337ab
commit
d58a7a3656
2 changed files with 6 additions and 2 deletions
|
@ -327,6 +327,12 @@ when configured with the `theme-file-name` which is a `yaml` file,
|
|||
|
||||
Check [Theme file content](#theme-file-content) for details.
|
||||
|
||||
### Filename coloring
|
||||
|
||||
`lsd` use both [LS_COLORS](https://github.com/trapd00r/LS_COLORS) and this theme feature to
|
||||
colorize the filename, `lsd` will use the color and format option defined in `LS_COLORS`,
|
||||
and then the theme configurations if no `LS_COLOR` are found.
|
||||
|
||||
### Theme file content
|
||||
|
||||
Theme file use the [crossterm](https://crates.io/crates/crossterm)
|
||||
|
|
|
@ -100,8 +100,6 @@ pub enum IconTheme {
|
|||
Fancy,
|
||||
}
|
||||
|
||||
impl IconTheme {}
|
||||
|
||||
impl Configurable<Self> for IconTheme {
|
||||
/// Get a potential `IconTheme` variant from [ArgMatches].
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue