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

The links are broken #6

Closed
ucomru opened this issue Mar 5, 2024 · 1 comment · Fixed by #7
Closed

The links are broken #6

ucomru opened this issue Mar 5, 2024 · 1 comment · Fixed by #7

Comments

@ucomru
Copy link

ucomru commented Mar 5, 2024

Good day!

After the change to the new row link https://github.com/catppuccin/bat/raw/main/themes/Catppuccin%20Mocha.tmTheme
there are: Catppuccin-Mocha.tmTheme --> Catppuccin%20Mocha.tmTheme.

That is the hyphen - renamed to the space .

We became a problem with bat cache --build, it's returning broken theme name: Theme: Catppuccin%20Mocha.
If your are getting bat theme list, there are hyphen separate usually present.
Its needing to use: export BAT_THEME='Catppuccin%20mocha' to work correctly.

@ucomru
Copy link
Author

ucomru commented Mar 5, 2024

Is it possible to return to the previous name export BAT_THEME='Catppuccin-mocha' ?
I think is so better.

I think the complex curl command with create dir are more friendly:

  curl -fsSLO --create-dirs --output-dir "$(bat --config-dir)/themes" \
      https://raw.github.com/catppuccin/bat/main/Catppuccin-mocha.tmTheme

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

Successfully merging a pull request may close this issue.

1 participant