Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'literal' & 'truncate-owner' in config not recognised as options #1108

Open
axelsimon opened this issue Nov 19, 2024 · 0 comments
Open

'literal' & 'truncate-owner' in config not recognised as options #1108

axelsimon opened this issue Nov 19, 2024 · 0 comments

Comments

@axelsimon
Copy link

axelsimon commented Nov 19, 2024

  • os: Armbian 24.11.0-trunk.384 bookworm
  • lsd --version: lsd 0.23.1
  • echo $TERM: alacritty
  • echo $LS_COLORS:

Expected behaviour

The suggested config in the README should not lead to lsd throwing an error.

Actual behaviour

When copy pasting the suggested config from the README to $XDG_CONFIG_HOME/fd/ignore, lsd complains:

lsd: Configuration file /home/axx/.config/lsd/config.yaml format error, unknown field `literal`, 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 139 column 1.

and after commenting that out:

lsd: Configuration file /home/axx/.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 144 column 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant