lsd-rs / lsd

The next gen ls command
Apache License 2.0
13.31k stars 431 forks source link

[Bug]: unknown field `truncate-owner` #959

Closed tobiasgriepentrog closed 10 months ago

tobiasgriepentrog commented 10 months ago

Version

version

❯ lsd --version lsd 1.0.0

What OS are you seeing the problem on?

macOS

installation

brew install lsd

term

❯ echo $TERM xterm-256color

ls-colors

❯ echo $LS_COLORS di=1;36:ln=35:so=32:pi=33:ex=31:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43

What happened?

wrote config.yaml with

truncate-owner:
  after: 9
  marker: ""

and got this error when using lsd

lsd: Configuration file /Users/tobiasgriepentrog/.config/lsd/config.yaml format error, unknown field `truncate_owner`, expected one of `classic`, `blocks`, `color`, `date`, `dereference`, `display`, `icons`, `ignore-globs`, `indicators`, `layout`, `recursion`, `size`, `permission`, `sorting`, `no-symlink`, `total-size`, `symlink-arrow`, `hyperlink`, `header` at line 1 column 1.

What expected?

wanted a truncated owner name

What else?

No response

zwpaper commented 10 months ago

fixed by https://github.com/lsd-rs/lsd/pull/960