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

Theme file doesn't load #575

Closed
ranebrown opened this issue Nov 4, 2021 · 5 comments
Closed

Theme file doesn't load #575

ranebrown opened this issue Nov 4, 2021 · 5 comments

Comments

@ranebrown
Copy link

ranebrown commented Nov 4, 2021

  • os: macOS 11.6.1
  • lsd --version: lsd 0.20.1
  • echo $TERM: tmux-256color
  • echo $LS_COLORS:
fi=37:di=32:ln=36:or=7;36:mi=1;36:pi=93:so=93:bd=93:cd=93:ex=1;31:mh=1;96:su=7;95:sg=1;7;95:tw=1;3;32:ow=1;32:st=3;32:*.c=1;37:*.h=1;37:*.cpp=1;37:*.hpp=1;37:*.cs=1;37:*.asm=1;37:*.py=1;37:*.prl=1;37:*.cgi=1;37:*.pl=1;37:*.json=1;37:*.rs=1;37:*.toml=1;37:*.vim=1;37:*.sh=1;37:*.bat=1;37:*.cmd=1;37:*Makefile=1;35:*tags=2;37:*.pdb=2;37:*.lock=2;37:*.pyc=2;37:*.stackdump=2;37:*.o=2;37:*.d=2;37:*.dll=2;37:*.a=2;37:*.so=2;37:*.gitignore=2;37:*bash_profile=94:*gitconfig=94:*uncrustify=94:*rc=94:*.ini=94:*.conf=94:*.config=94:*.cfg=94:*.jpg=2;34:*.jpeg=2;34:*.JPG=2;34:*.png=2;34:*.PNG=2;34:*.bmp=2;34:*.BMP=2;34:*.gif=2;34:*.svg=2;34:*.ai=2;34:*.ico=2;34:*.tif=2;34:*.tiff=2;34:*.ps=2;34:*.psd=2;34:*.tar=2;37:*.xz=2;37:*.zip=2;37:*.7z=2;37:*.gz=2;37:*.bz2=2;37:*.iso=2;37:*.md=33:*.mkdn=33:*.markdown=33:*README=1;33:*LICENSE=2;33:*.pdf=35:*.doc=35:*.docx=35:*.ppt=35:*.pptx=35:*.xls=35:*.xlsx=35:*.vsd=35:*.vsdx=35:

Expected behavior

Theme file should load and be applied.

Setting a theme in the config file does not seem to load. Other settings work as expected. The theme is in $XDG_CONFIG_HOME/lsd/themes/oceanic-next.yaml. It is a copy of the default theme with some colors changed to red for testing (also tried other values).

color:
  # When to colorize the output.
  # When "classic" is set, this is set to "never".
  # Possible values: never, auto, always
  when: auto

  # When "classic" is set, this is set to "no-color".
  theme: oceanic-next

Actual behavior

Theme not loaded.

@Al3bad
Copy link

Al3bad commented Nov 4, 2021

I'm having the same problem ..

@laenzlinger
Copy link

I had the same issue until i figured out that this is a new feature which was not yet released on version 0.20.1
see README.md on the tag 0.20.1

I have solved it by building and installing master:

cargo install --git https://github.com/Peltoche/lsd.git --branch master

@ranebrown
Copy link
Author

That would explain it. Thanks!

@meain
Copy link
Member

meain commented Nov 5, 2021

I'm just hoping to implement #549 before I make a release just so that theme updates won't break anything as users might not have the new values in their config. Just haven't been able to get around it.

@zwpaper
Copy link
Member

zwpaper commented Nov 28, 2021

related #591

@meain meain unpinned this issue Jul 10, 2022
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

5 participants