Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 1.15 KB

README.md

File metadata and controls

43 lines (32 loc) · 1.15 KB

Decay-Bat

Adding the themes

  1. Clone this repository.
  2. First create a theme folder in bat's configuration directory by running:
    mkdir -p "$(bat --config-dir)/themes"
  3. Copy all the .tmTheme files from the cloned folder to bat's theme folder:
    cp *.tmTheme "$(bat --config-dir)/themes"
  4. Rebuild bat's cache:
    bat cache --build
  5. Run bat --list-themes and check if all the 4 theme flavours are present in the list.

Usage

There are two ways to get the theme working.

  1. Add the following to bat's configuration file:
    --theme="dark-decay"
  2. Using the BAT_THEME environmental variable:
    • Export the environmental variable inside your shell's configuration file: BAT_THEME="dark-decay". The method to export the variable depends on your shell.

Thanks