Installed with Homebrew, lsd comes (at the time of writing) in v 1.0.0, which doesn't contain two unreleased features (--truncate-owner-*and --literal). At the same time the config sample config.yaml in README.md already provides the configuration elements for that flags. If user creates the custom configuration from this template, it looks like the config.yaml is being ignored. Tre real cause is shown in backtrace:
But this can be discovered only by specifying the --config-file flag explicitly. For the normal run it looks like the config file just had no effect at all.
Expected behavior
lsd should either crash if some unknown element exists in yaml config file or maybe display a warning. (However the second option would break compatibility with ls.)
In response to [this](https://github.com/lsd-rs/lsd/issues/921#issuecomment-1745199142):
>the master branch is for latest dev features, please check https://github.com/lsd-rs/lsd/tree/v1.0.0
>
>close due to duplicated with https://github.com/lsd-rs/lsd/issues/922
>
>/close
>
Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
lsd --version
: 1.0.0echo $TERM
: xterm-256colorecho $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;43Installed with Homebrew,
lsd
comes (at the time of writing) in v 1.0.0, which doesn't contain two unreleased features (--truncate-owner-*
and--literal
). At the same time the config sampleconfig.yaml
in README.md already provides the configuration elements for that flags. If user creates the custom configuration from this template, it looks like theconfig.yaml
is being ignored. Tre real cause is shown in backtrace:But this can be discovered only by specifying the
--config-file
flag explicitly. For the normal run it looks like the config file just had no effect at all.Expected behavior
lsd
should either crash if some unknown element exists in yaml config file or maybe display a warning. (However the second option would break compatibility withls
.)Actual behavior
lsd
just ignores provided config.yaml silently.