mirror of
https://github.com/sharkdp/bat.git
synced 2025-01-03 12:18:49 +01:00
Add binary assets
This commit is contained in:
parent
50be143c62
commit
cc60ed6563
27
assets/create.sh
Normal file
27
assets/create.sh
Normal 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
BIN
assets/syntax_set
Normal file
Binary file not shown.
BIN
assets/theme_set
Normal file
BIN
assets/theme_set
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user