diff --git a/assets/create.sh b/assets/create.sh new file mode 100644 index 00000000..9fb03d24 --- /dev/null +++ b/assets/create.sh @@ -0,0 +1,27 @@ +set -e + +THEME_FOLDER="$HOME/.config/bat/themes" +SYNTAX_FOLDER="$HOME/.config/bat/syntax" + +if [ ! -e "$THEME_FOLDER" ]; then + mkdir -p "$THEME_FOLDER" + ( + cd "$THEME_FOLDER" + git clone https://github.com/jonschlinkert/sublime-monokai-extended + ln -s "sublime-monokai-extended/Monokai Extended.tmTheme" Default.tmTheme + ) +fi + +if [ ! -e "$SYNTAX_FOLDER" ]; then + mkdir -p "$SYNTAX_FOLDER" + ( + cd "$SYNTAX_FOLDER" + git clone https://github.com/sublimehq/Packages/ + rm -rf Packages/Markdown + git clone https://github.com/jonschlinkert/sublime-markdown-extended + ) +fi + +bat init-cache + +cp "$HOME/.cache/bat"/* . diff --git a/assets/syntax_set b/assets/syntax_set new file mode 100644 index 00000000..7eb07bfa Binary files /dev/null and b/assets/syntax_set differ diff --git a/assets/theme_set b/assets/theme_set new file mode 100644 index 00000000..d80e679d Binary files /dev/null and b/assets/theme_set differ