Add binary assets

This commit is contained in:
sharkdp 2018-04-30 15:41:30 +02:00
parent 50be143c62
commit cc60ed6563
3 changed files with 27 additions and 0 deletions

27
assets/create.sh Normal file
View File

@ -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"/* .

BIN
assets/syntax_set Normal file

Binary file not shown.

BIN
assets/theme_set Normal file

Binary file not shown.