3THEME_FOLDER="$HOME/.config/bat/themes"
4SYNTAX_FOLDER="$HOME/.config/bat/syntax"
6if [ ! -e "$THEME_FOLDER" ]; then
7 mkdir -p "$THEME_FOLDER"
10 git clone https://github.com/jonschlinkert/sublime-monokai-extended
11 ln -s "sublime-monokai-extended/Monokai Extended.tmTheme" Default.tmTheme
15if [ ! -e "$SYNTAX_FOLDER" ]; then
16 mkdir -p "$SYNTAX_FOLDER"
19 git clone https://github.com/sublimehq/Packages/
21 # Patch JavaScript syntax
22 sed -i -e 's/{{identifier_break}}+/{{identifier_break}}/' Packages/JavaScript/JavaScript.sublime-syntax
24 # Use extended Markdown syntax
25 rm -rf Packages/Markdown
26 git clone https://github.com/jonschlinkert/sublime-markdown-extended
28 # Add additional sxntax definitions
29 git clone https://github.com/princemaple/elixir-sublime-syntax/
30 git clone https://github.com/sharkdp/sublime_toml_highlighting
31 git clone https://github.com/JuliaEditorSupport/Julia-sublime
37cp "$HOME/.cache/bat"/* .
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list