catppuccin / bat

🦇️ Soothing pastel theme for Bat
MIT License
273 stars 8 forks source link

The links are broken #6

Closed ucomru closed 5 months ago

ucomru commented 5 months ago

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 commented 5 months ago

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