catppuccin/bat

The links are broken

Closed this issue · 1 comments

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.

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