#!/usr/bin/env sh # Small bootstrap script that sets up the necessary syntax grammars and themes # for this particular bat config. theme_dir="$(bat --config-dir)/themes" syntax_dir="$(bat --config-dir)/syntaxes" # Themes mkdir -p $theme_dir cd $theme_dir git clone https://github.com/mhanberg/everforest-textmate # Syntaxes mkdir -p $syntax_dir cd $syntax_dir git clone https://github.com/eugenesvk/sublime-KDL # Build bat cache bat cache --build