lsd-rs / lsd

The next gen ls command
Apache License 2.0
12.8k stars 413 forks source link

[Bug]: LSD not reading config.yaml #1048

Open Tyler799 opened 1 month ago

Tyler799 commented 1 month ago

Version

version

1.1.2

What OS are you seeing the problem on?

MSYS2/UCRT64

installation

pacman -S mingw-w64-ucrt-x86_64-lsd

term

xterm

ls-colors

Empty

What happened?

Settings in config.yaml don't make any change in lsd -l's output. Enabling the header doesn't show a header. Sorting by directory first doesn't sort. Disabling columns doesn't disable them, etc. 

For context, I'm editing /home/tyler.shellberg/.config/lsd/config.yaml. The LSD folder is right next to a config folder for Fish and Git, so it seems to be in the right spot.

What expected?

Options in config.yaml should change behavior of lsd -l output.

What else?

I'm on Fish shell, if that matters.
zwpaper commented 1 month ago

where is your config.yaml located? it should be ~/.config/lsd/config.yaml

I am also using fish, it does not matter

Tyler799 commented 1 month ago

where is your config.yaml located? it should be ~/.config/lsd/config.yaml

I am also using fish, it does not matter

I put that in the issue, but yes, mine is in the correct spot.

ACR-Jeff commented 1 month ago

I am experiencing the same issue, The config file is in the correct lsd directory, I am on void linux if that makes any difference, I have tried with alacritty, gnome-terminal, and kitty, I have been trying to change the theme/colors and all result in defaults even with theme:custom set

ACR-Jeff commented 1 month ago

Ok I stand corrected, It was confusion on my part, It's working properly, I used default theme colors with theme:custom set, It's now working on my end. Still in the learning stage of lsd.

Tyler799 commented 1 month ago

I can work around it for now by manually pointing it to the config.yaml's location with the --config option, but it's a bit annoying.