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

lsd not reading the config file #566

Closed
greweln opened this issue Oct 14, 2021 · 5 comments
Closed

lsd not reading the config file #566

greweln opened this issue Oct 14, 2021 · 5 comments

Comments

@greweln
Copy link

greweln commented Oct 14, 2021

Please excuse my ignorance but how can I get lsd to read the config & theme file?
I install it with cargo and I do have a ~/.config/lsd/config.yml and ~/.config/lsd/themes/my_theme

thanks

@meain
Copy link
Member

meain commented Oct 14, 2021

  1. You have to build from master. Themes is not yet in a release.
  2. Have this in ~/.config/lsd/config.yaml
color:
  when: auto
  theme: mytheme
  1. Have theme in ~/.config/lsd/themes/mytheme.yaml (.yaml at the end)

example

@greweln
Copy link
Author

greweln commented Oct 14, 2021

1. You have to build from `master`. Themes is not yet in a release.

2. Have this in `~/.config/lsd/config.yaml`
color:
  when: auto
  theme: mytheme
1. Have theme in `~/.config/lsd/themes/mytheme.yaml` (`.yaml` at the end)

example

Thanls for the reply.
I uninstall the old one with cargo uninstall lsd and compile again with
cargo install --git https://github.com/Peltoche/lsd.git --branch master
but still won't read any changes I make in config.yml. Any advice?

@meain
Copy link
Member

meain commented Oct 14, 2021

You mean none of the config values are getting picked up, or just the themes? Also, have you renamed your file from my_theme to my_theme.yaml?

@greweln
Copy link
Author

greweln commented Oct 14, 2021

oh...so embarassed :( my bad. I rename the config file as yml instead of yaml. Sorry.
thank you so much for the help

@greweln greweln closed this as completed Oct 14, 2021
@meain
Copy link
Member

meain commented Oct 14, 2021

No worries, glad we could figure this out :)

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

2 participants